Fix condition for execution of prepareSonatypeStaging script.
This fixes a publication to maven central problem after commit cf2d03b9
This commit is contained in:
+7
-4
@@ -526,10 +526,13 @@ allprojects {
|
|||||||
|
|
||||||
apply {
|
apply {
|
||||||
from("libraries/commonConfiguration.gradle")
|
from("libraries/commonConfiguration.gradle")
|
||||||
if (extra.has("isDeployStagingRepoGenerationRequired") && project.extra["isDeployStagingRepoGenerationRequired"] as Boolean) {
|
}
|
||||||
logger.info("Applying configuration for sonatype release")
|
|
||||||
from("libraries/prepareSonatypeStaging.gradle")
|
if (extra.has("isDeployStagingRepoGenerationRequired") &&
|
||||||
}
|
project.extra["isDeployStagingRepoGenerationRequired"] as Boolean == true
|
||||||
|
) {
|
||||||
|
logger.info("Applying configuration for sonatype release")
|
||||||
|
project.apply { from("libraries/prepareSonatypeStaging.gradle") }
|
||||||
}
|
}
|
||||||
|
|
||||||
gradle.taskGraph.whenReady {
|
gradle.taskGraph.whenReady {
|
||||||
|
|||||||
Reference in New Issue
Block a user