File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
buildSrc/src/main/kotlin/com/jashmore Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
1212
1313allprojects {
1414 group = " com.jashmore"
15- version = " 4.0.0-M8"
15+ version = " 4.0.0-M8-SNAPSHOT "
1616
1717 repositories {
1818 mavenCentral()
Original file line number Diff line number Diff line change @@ -160,11 +160,13 @@ open class ReleasePlugin : Plugin<Project> {
160160
161161 project.pluginManager.apply (NexusStagingPlugin ::class .java)
162162
163- project.configure<NexusStagingExtension > {
164- username = extension.sonatypeUsername
165- password = extension.sonatypePassword
166- numberOfRetries = 20
167- delayBetweenRetriesInMillis = 10000
163+ project.afterEvaluate {
164+ project.configure<NexusStagingExtension > {
165+ username = extension.sonatypeUsername
166+ password = extension.sonatypePassword
167+ numberOfRetries = 20
168+ delayBetweenRetriesInMillis = 10000
169+ }
168170 }
169171
170172 fun updateBuildVersion (buildFile : File ? , from : String , to : String ) {
You can’t perform that action at this time.
0 commit comments