Adopt configuration-avoidance where possible
Before this change `./gradlew help` (with native enabled) Created immediately: 1322 Created during configuration: 1541 after this change: Created immediately: 596 Created during configuration: 1509 To know more about configuration avoidance: https://docs.gradle.org/current/userguide/task_configuration_avoidance.html
This commit is contained in:
committed by
Space Team
parent
ad8909113d
commit
46d113605b
@@ -19,7 +19,7 @@ class JpsCompatiblePlugin : Plugin<Project> {
|
||||
project.configurations.create("jpsTest")
|
||||
|
||||
if (project == project.rootProject) {
|
||||
project.tasks.create("pill") {
|
||||
project.tasks.register("pill") {
|
||||
dependsOn(":pill:pill-importer:pill")
|
||||
|
||||
if (System.getProperty("pill.android.tests", "false") == "true") {
|
||||
@@ -28,7 +28,7 @@ class JpsCompatiblePlugin : Plugin<Project> {
|
||||
}
|
||||
}
|
||||
|
||||
project.tasks.create("unpill") {
|
||||
project.tasks.register("unpill") {
|
||||
dependsOn(":pill:pill-importer:unpill")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user