[build] Migrate kotlin-native/klib/build.gradle to KTS

^KT-62340
This commit is contained in:
Dmitriy Dolovov
2024-01-29 20:24:51 +01:00
committed by Space Team
parent ca0c2f1405
commit c1a4c33301
2 changed files with 26 additions and 27 deletions
-27
View File
@@ -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")
}
+26
View File
@@ -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<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
freeCompilerArgs += "-Xskip-prerelease-check"
}
}