File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -162,27 +162,15 @@ signing {
162162 extra[" signing.secretKeyRingFile" ] as String ,
163163 extra[" signing.password" ] as String
164164 )
165- sign(publishing.publications[ " maven " ] )
165+ sign(publishing.publications)
166166}
167167
168168nexusPublishing {
169169 repositories {
170170 sonatype {
171- username.set( extra[" ossrhUsername" ] as String )
172- password.set( extra[" ossrhPassword" ] as String )
173- stagingProfileId.set( extra[" sonatypeStagingProfileId" ] as String )
171+ username = extra[" ossrhUsername" ] as String
172+ password = extra[" ossrhPassword" ] as String
173+ stagingProfileId = extra[" sonatypeStagingProfileId" ] as String
174174 }
175175 }
176- }
177-
178- // Optional: configure tasks for releases
179- tasks.register(" prepareRelease" ) {
180- group = " publishing"
181- description = " Prepares the project for release"
182-
183- dependsOn(" clean" )
184- dependsOn(" build" )
185- dependsOn(" javadoc" )
186- dependsOn(" sourcesJar" )
187- dependsOn(" publishToMavenLocal" ) // Test locally first
188176}
You can’t perform that action at this time.
0 commit comments