Split apply block, so that gradle scripts are imported separately, one after other
This commit is contained in:
committed by
Ilya Chernikov
parent
1c6b858153
commit
701f24ead5
@@ -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")
|
||||
|
||||
@@ -109,8 +109,10 @@ task preparePublication {
|
||||
ext.username = properties["deployRepoUsername"] ?: properties["kotlin.${repoProvider}.user"]
|
||||
ext.password = properties["deployRepoPassword"] ?: properties["kotlin.${repoProvider}.password"]
|
||||
|
||||
logger.info("Deployment repository preliminary url: $repoUrl ($repoProvider)")
|
||||
|
||||
doLast {
|
||||
println("Deployment respository url: $repoUrl")
|
||||
println("Deployment repository url: $repoUrl")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user