[K/N] Convert :kotlin-native:klib

Use folder structure from the rest of the project and build it by
the bootstrap compiler.
This commit is contained in:
Alexander Shabalin
2024-03-01 21:29:49 +01:00
committed by Space Team
parent ec8bc6a64f
commit 3a5f33e9cd
18 changed files with 4 additions and 13 deletions
+3 -12
View File
@@ -1,17 +1,7 @@
buildscript {
apply(from = "$rootDir/kotlin-native/gradle/kotlinGradlePlugin.gradle")
}
plugins { plugins {
kotlin("jvm") kotlin("jvm")
} }
repositories {
extra["bootstrapKotlinRepo"]?.let {
maven(url = it)
}
}
dependencies { dependencies {
implementation(project(":core:descriptors")) implementation(project(":core:descriptors"))
implementation(project(":native:frontend.native")) implementation(project(":native:frontend.native"))
@@ -23,6 +13,7 @@ dependencies {
implementation(project(":kotlin-metadata")) { isTransitive = false } implementation(project(":kotlin-metadata")) { isTransitive = false }
} }
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask<*>> { sourceSets {
compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check") "main" { projectDefault() }
"test" { none() }
} }