Minor, suppress 1.3 language version warnings
This commit is contained in:
@@ -3,8 +3,6 @@ plugins {
|
|||||||
id("jps-compatible")
|
id("jps-compatible")
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "Kotlin/Native utils"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(kotlinStdlib())
|
compile(kotlinStdlib())
|
||||||
testImplementation(commonDep("junit:junit"))
|
testImplementation(commonDep("junit:junit"))
|
||||||
@@ -17,12 +15,14 @@ sourceSets {
|
|||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
kotlinOptions.languageVersion = "1.3"
|
kotlinOptions {
|
||||||
kotlinOptions.apiVersion = "1.3"
|
languageVersion = "1.3"
|
||||||
|
apiVersion = "1.3"
|
||||||
|
freeCompilerArgs += "-Xsuppress-version-warnings"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publish()
|
publish()
|
||||||
|
|
||||||
standardPublicJars()
|
standardPublicJars()
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,11 @@ sourceSets {
|
|||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
kotlinOptions.languageVersion = "1.3"
|
kotlinOptions {
|
||||||
kotlinOptions.apiVersion = "1.3"
|
languageVersion = "1.3"
|
||||||
|
apiVersion = "1.3"
|
||||||
|
freeCompilerArgs += "-Xsuppress-version-warnings"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user