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
23 lines
706 B
Kotlin
23 lines
706 B
Kotlin
plugins {
|
|
`java-library`
|
|
}
|
|
|
|
dependencies {
|
|
@Suppress("UNCHECKED_CAST")
|
|
rootProject.extra["kotlinJpsPluginMavenDependencies"]
|
|
.let { it as List<String> }
|
|
.forEach { implementation(project(it)) }
|
|
|
|
@Suppress("UNCHECKED_CAST")
|
|
rootProject.extra["kotlinJpsPluginMavenDependenciesNonTransitiveLibs"]
|
|
.let { it as List<String> }
|
|
.forEach { implementation(it) { isTransitive = false } }
|
|
}
|
|
|
|
@Suppress("UNCHECKED_CAST")
|
|
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
|
|
publishProjectJars(
|
|
embeddedDependencies + listOf(":jps:jps-plugin", ":jps:jps-common"),
|
|
libraryDependencies = listOf(protobufFull())
|
|
)
|