Skip to content

Commit 3dfa9ac

Browse files
committed
gradle 4.9
1 parent 1ce7230 commit 3dfa9ac

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.idea/modules/kotlin-unsigned.iml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies {
2323

2424
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
2525

26-
testImplementation'io.kotlintest:kotlintest-runner-junit5:3.1.0'
26+
testImplementation 'io.kotlintest:kotlintest-runner-junit5:3.1.0'
2727
}
2828

2929
repositories {
@@ -52,4 +52,10 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
5252
artifacts {
5353
archives sourcesJar
5454
archives javadocJar
55+
}
56+
57+
allprojects {
58+
compileKotlin {
59+
kotlinOptions.freeCompilerArgs = ["-XXLanguage:+InlineClasses", "-Xskip-metadata-version-check"]
60+
}
5561
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip

src/main/kotlin/unsigned/Long.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import java.math.BigInteger
77

88
// Created by GBarbieri on 31.01.2017.
99

10-
1110
fun Long.toUByte() = toByte()
1211
fun Long.toUShort() = toShort()
1312
fun Long.toUInt() = toInt()

0 commit comments

Comments
 (0)