Introduce jps-compatible-base plugin to create necessary configurations

To avoid generating static accessors (via kotlinDslAccessorsSnapshot),
we need to create all necessary configurations during 'plugins'
block evaluation.
This commit is contained in:
Alexey Tsvetkov
2018-03-24 22:12:37 +03:00
parent 8a82c1618c
commit b420671a1d
8 changed files with 13 additions and 15 deletions
+1 -2
View File
@@ -3,6 +3,7 @@ description = "Kotlin Android Lint"
plugins {
`java-base`
id("jps-compatible-base")
}
val projectsToShadow = listOf(
@@ -15,8 +16,6 @@ sourceSets {
"test" {}
}
containsEmbeddedComponents()
dependencies {
projectsToShadow.forEach { p ->
embeddedComponents(project(p)) { isTransitive = false }