eb4e96a113
It acts as a workaround for the case when build tools or dependencies are compiled with latest 'kotlin-stdlib' version, but at a runtime older 'kotlin-stdlib' is provided, which does not know about new `EnumEntries`. ^KT-57317 Fixed
39 lines
965 B
Kotlin
39 lines
965 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
kotlin {
|
|
explicitApi()
|
|
}
|
|
|
|
description = "Kotlin KLIB Library Commonizer API"
|
|
publish()
|
|
|
|
dependencies {
|
|
implementation(kotlinStdlib())
|
|
implementation(project(":native:kotlin-native-utils"))
|
|
testImplementation(project(":kotlin-test::kotlin-test-junit"))
|
|
testImplementation(commonDependency("junit:junit"))
|
|
testImplementation(projectTests(":compiler:tests-common"))
|
|
testRuntimeOnly(project(":native:kotlin-klib-commonizer"))
|
|
testImplementation(project(":kotlin-gradle-plugin"))
|
|
testImplementation(project(":kotlin-gradle-statistics"))
|
|
testImplementation(project(":kotlin-gradle-plugin-model"))
|
|
testImplementation(gradleApi())
|
|
testImplementation(gradleTestKit())
|
|
testImplementation(gradleKotlinDsl())
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest(parallel = false) {
|
|
workingDir = projectDir
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|