Split apply block, so that gradle scripts are imported separately, one after other

This commit is contained in:
Ilya Gorbunov
2017-09-18 21:21:11 +03:00
committed by Ilya Chernikov
parent 1c6b858153
commit 701f24ead5
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -175,7 +175,9 @@ val gradlePluginProjects = listOf(
apply {
from("libraries/commonConfiguration.gradle")
from("libraries/configureGradleTools.gradle")
}
apply {
if (extra["isSonatypeRelease"] as? Boolean == true) {
logger.info("Applying configuration for sonatype release")
from("libraries/prepareSonatypeStaging.gradle")