Build: Introduce embedded configuration used for fatJars
This commit is contained in:
@@ -34,7 +34,7 @@ dependencies {
|
||||
robolectricClasspath("org.robolectric:android-all:4.4_r1-robolectric-1")
|
||||
robolectricClasspath(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
||||
|
||||
embeddedComponents(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
||||
embedded(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -42,9 +42,7 @@ sourceSets {
|
||||
"test" { projectDefault() }
|
||||
}
|
||||
|
||||
runtimeJar {
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
runtimeJar()
|
||||
|
||||
dist()
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ dependencies {
|
||||
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
|
||||
embeddedComponents("org.jetbrains.kotlinx", "kotlinx-serialization-runtime", kotlinxSerializationVersion) { isTransitive = false }
|
||||
embedded("org.jetbrains.kotlinx", "kotlinx-serialization-runtime", kotlinxSerializationVersion) { isTransitive = false }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -34,8 +34,6 @@ projectTest {
|
||||
dependsOn(":dist")
|
||||
}
|
||||
|
||||
runtimeJar {
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
runtimeJar()
|
||||
|
||||
dist()
|
||||
@@ -33,9 +33,9 @@ dependencies {
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompile(project(":kotlin-annotation-processing-runtime"))
|
||||
|
||||
embeddedComponents(project(":kotlin-annotation-processing-runtime")) { isTransitive = false }
|
||||
embeddedComponents(project(":kotlin-annotation-processing-cli")) { isTransitive = false }
|
||||
embeddedComponents(project(":kotlin-annotation-processing-base")) { isTransitive = false }
|
||||
embedded(project(":kotlin-annotation-processing-runtime")) { isTransitive = false }
|
||||
embedded(project(":kotlin-annotation-processing-cli")) { isTransitive = false }
|
||||
embedded(project(":kotlin-annotation-processing-base")) { isTransitive = false }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -52,9 +52,7 @@ projectTest {
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar {
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
runtimeJar()
|
||||
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
Reference in New Issue
Block a user