Files
kotlin-fork/native/commonizer-api/build.gradle.kts
T
Yahor Berdnikau eb4e96a113 Add kotlin-build-tools-enum-compat workaround
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
2023-04-21 14:57:17 +00:00

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()