Set explicit lang version 1.3 for kotlin-native-utils & kotlin-util-io

Without explicit version we cannot use those modules in buildscripts with Gradle 6.8+ because Gradle doesn't set flag `skipPrereleaseCheck` (previously was named `skipMetadataVersionCheck`). This way we make it compatible with all supported versions of Gradle.
This commit is contained in:
Alexander Likhachev
2021-03-09 16:21:03 +03:00
parent 875cf1acf9
commit 2ae7740c46
3 changed files with 15 additions and 3 deletions
+7
View File
@@ -15,6 +15,13 @@ sourceSets {
"test" { projectDefault() }
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.languageVersion = "1.3"
kotlinOptions.apiVersion = "1.3"
}
}
publish()
standardPublicJars()