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:
@@ -4,6 +4,7 @@ description = "Kotlin JPS plugin"
|
||||
|
||||
plugins {
|
||||
`java-base`
|
||||
id("jps-compatible-base")
|
||||
}
|
||||
|
||||
val projectsToShadow = listOf(
|
||||
@@ -20,9 +21,6 @@ val projectsToShadow = listOf(
|
||||
":core:util.runtime",
|
||||
":plugins:android-extensions-jps")
|
||||
|
||||
|
||||
containsEmbeddedComponents()
|
||||
|
||||
dependencies {
|
||||
projectsToShadow.forEach {
|
||||
embeddedComponents(project(it)) { isTransitive = false }
|
||||
|
||||
Reference in New Issue
Block a user