File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,9 +117,6 @@ tasks.register("runTimerUnitTests") {
117117tasks.register(" displayVersion" ) {
118118 description = " Display application version name"
119119 doLast {
120- // Ensure 'versionName' is accessible here.
121- // If it's from ext block in allprojects, it might need to be accessed via project.versionName or project.extra["versionName"]
122- // Or re-fetch from buildVersionName() if that's more direct
123120 println (" Application version: ${buildVersionName()} " )
124121 }
125122}
@@ -138,16 +135,16 @@ tasks.register("runUnitTests") {
138135 description = " Run unit tests for all modules."
139136}
140137
141- val ossrhUsernameProp : String? by extra
142- val ossrhPasswordProp : String? by extra
138+ val ossrhUsername : String? by extra
139+ val ossrhPassword : String? by extra
143140
144141nexusPublishing {
145142 repositories {
146143 sonatype {
147144 nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
148145 snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
149- username.set(ossrhUsernameProp )
150- password.set(ossrhPasswordProp )
146+ username.set(ossrhUsername )
147+ password.set(ossrhPassword )
151148 }
152149 }
153150}
You can’t perform that action at this time.
0 commit comments