7bb77e5672
This allows to replace dependency of 'util' on 'deserialization' with dependency on 'descriptors'.
43 lines
996 B
Kotlin
43 lines
996 B
Kotlin
description = "Kotlin JPS plugin"
|
|
|
|
plugins {
|
|
java
|
|
}
|
|
|
|
val projectsToShadow = listOf(
|
|
":core:type-system",
|
|
":kotlin-build-common",
|
|
":kotlin-util-io",
|
|
":kotlin-util-klib",
|
|
":kotlin-util-klib-metadata",
|
|
":compiler:cli-common",
|
|
":kotlin-compiler-runner",
|
|
":daemon-common",
|
|
":daemon-common-new",
|
|
":core:descriptors",
|
|
":core:descriptors.jvm",
|
|
":idea:idea-jps-common",
|
|
":jps-plugin",
|
|
":kotlin-preloader",
|
|
":compiler:util",
|
|
":compiler:config",
|
|
":compiler:config.jvm",
|
|
":js:js.config",
|
|
":core:util.runtime",
|
|
":compiler:compiler.version"
|
|
)
|
|
|
|
dependencies {
|
|
projectsToShadow.forEach {
|
|
embedded(project(it)) { isTransitive = false }
|
|
}
|
|
|
|
embedded(projectRuntimeJar(":kotlin-daemon-client"))
|
|
}
|
|
|
|
runtimeJar {
|
|
manifest.attributes["Main-Class"] = "org.jetbrains.kotlin.runner.Main"
|
|
manifest.attributes["Class-Path"] = "kotlin-stdlib.jar"
|
|
from(files("$rootDir/resources/kotlinManifest.properties"))
|
|
}
|