Pill: Import KotlinPlugin artifact

This commit is contained in:
Yan Zhulanow
2018-02-20 01:47:36 +03:00
parent bc78d2c417
commit 07ede20dc5
17 changed files with 242 additions and 25 deletions
+9
View File
@@ -13,6 +13,15 @@ sourceSets {
"test" {}
}
// Do not rename, used in JPS importer
val fatJarContents by configurations.creating
dependencies {
projectsToShadow.forEach {p ->
fatJarContents(project(p)) { isTransitive = false }
}
}
runtimeJar {
projectsToShadow.forEach {
dependsOn("$it:classes")
+2
View File
@@ -23,7 +23,9 @@ val shrink =
val compilerManifestClassPath =
"kotlin-stdlib.jar kotlin-reflect.jar kotlin-script-runtime.jar"
// Do not rename, used in JPS importer
val fatJarContents by configurations.creating
val fatJarContentsStripMetadata by configurations.creating
val fatJarContentsStripServices by configurations.creating
val fatSourcesJarContents by configurations.creating
+5 -2
View File
@@ -7,7 +7,8 @@ plugins {
`java-base`
}
val projectsToShadow = listOf(
// Do not rename, used in JPS importer
val projectsToShadow by extra(listOf(
":plugins:annotation-based-compiler-plugins-ide-support",
":compiler:backend",
":compiler:backend-common",
@@ -46,9 +47,11 @@ val projectsToShadow = listOf(
":compiler:resolution",
":compiler:serialization",
":compiler:util",
":core:util.runtime")
":core:util.runtime"))
// Do not rename, used in JPS importer
val packedJars by configurations.creating
val sideJars by configurations.creating
dependencies {
+1
View File
@@ -21,6 +21,7 @@ val projectsToShadow = listOf(
":core:util.runtime",
":plugins:android-extensions-jps")
// Do not rename, used in JPS importer
val fatJarContents by configurations.creating
dependencies {