[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:
committed by
Space Team
parent
ec8bc6a64f
commit
3a5f33e9cd
@@ -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() }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user