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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user