Build: Introduce embedded configuration used for fatJars
This commit is contained in:
@@ -22,15 +22,14 @@ val projectsToShadow = listOf(
|
||||
|
||||
dependencies {
|
||||
projectsToShadow.forEach {
|
||||
embeddedComponents(project(it)) { isTransitive = false }
|
||||
embedded(project(it)) { isTransitive = false }
|
||||
}
|
||||
|
||||
embeddedComponents(projectRuntimeJar(":kotlin-daemon-client"))
|
||||
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"))
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user