diff --git a/kotlin-native/klib/build.gradle b/kotlin-native/klib/build.gradle deleted file mode 100644 index 8d08454f724..00000000000 --- a/kotlin-native/klib/build.gradle +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license - * that can be found in the LICENSE file. - */ - -buildscript { - apply from: "$rootDir/kotlin-native/gradle/kotlinGradlePlugin.gradle" -} - -apply plugin: 'kotlin' - -compileKotlin { - kotlinOptions.freeCompilerArgs += ['-Xskip-prerelease-check'] -} - -repositories { - maven { - url project.bootstrapKotlinRepo - } -} - -dependencies { - implementation project(":kotlin-stdlib") - implementation project(path: ':kotlin-native:backend.native', configuration: 'cli_bcApiElements') - implementation project(":kotlin-native:utilities:basic-utils") - implementation project(":kotlin-util-klib-abi") -} diff --git a/kotlin-native/klib/build.gradle.kts b/kotlin-native/klib/build.gradle.kts new file mode 100644 index 00000000000..7a5537e335c --- /dev/null +++ b/kotlin-native/klib/build.gradle.kts @@ -0,0 +1,26 @@ +buildscript { + apply(from = "$rootDir/kotlin-native/gradle/kotlinGradlePlugin.gradle") +} + +plugins { + kotlin("jvm") +} + +repositories { + extra["bootstrapKotlinRepo"]?.let { + maven(url = it) + } +} + +dependencies { + implementation(kotlinStdlib()) + implementation(project(":kotlin-native:backend.native", "cli_bcApiElements")) + implementation(project(":kotlin-native:utilities:basic-utils")) + implementation(project(":kotlin-util-klib-abi")) +} + +tasks.withType> { + kotlinOptions { + freeCompilerArgs += "-Xskip-prerelease-check" + } +}