Files
kotlin-fork/prepare/jps-plugin/build.gradle.kts
T
2019-04-10 17:54:06 +03:00

36 lines
818 B
Kotlin

description = "Kotlin JPS plugin"
plugins {
java
id("pill-configurable")
}
val projectsToShadow = listOf(
":core:type-system",
":kotlin-build-common",
":compiler:cli-common",
":kotlin-compiler-runner",
":compiler:daemon-common",
":core:descriptors",
":core:descriptors.jvm",
":idea:idea-jps-common",
":jps-plugin",
":kotlin-preloader",
":compiler:util",
":core:util.runtime"
)
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"))
}