Build: Introduce embedded configuration used for fatJars

This commit is contained in:
Vyacheslav Gerasimov
2019-04-09 22:05:07 +03:00
parent a0adc97768
commit adb896d74c
12 changed files with 63 additions and 30 deletions
-6
View File
@@ -97,7 +97,6 @@ val projectsToShadow by extra(listOf(
emptyArray<String>()
))
val embedded by configurations.creating // PILL: used in pill importer
val libraries by configurations.creating
val jpsPlugin by configurations.creating
@@ -137,12 +136,7 @@ dependencies {
}
val jar = runtimeJar {
dependsOn(embedded)
from("$rootDir/resources/kotlinManifest.properties")
from {
embedded.files.map(::zipTree)
}
archiveName = "kotlin-plugin.jar"
}