File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,28 +152,27 @@ publishing {
152152
153153jreleaser {
154154 signing {
155- active.set( " ALWAYS" )
156- armored.set( true )
155+ active = " ALWAYS"
156+ armored = true
157157 }
158158 deploy {
159159 maven {
160160 nexus2 {
161- register( " maven-central" ) {
162- active.set( " ALWAYS" )
163- url.set( " https://s01.oss.sonatype.org/service/local" )
164- snapshotUrl.set( " https://s01.oss.sonatype.org/content/repositories/snapshots/" )
165- closeRepository.set( true )
166- releaseRepository.set( true )
167- stagingRepository.set (" build/staging-deploy" )
161+ " maven-central" {
162+ active = " ALWAYS"
163+ url = " https://s01.oss.sonatype.org/service/local"
164+ snapshotUrl = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
165+ closeRepository = true
166+ releaseRepository = true
167+ stagingRepository(" build/staging-deploy" )
168168 }
169169 }
170- // Uncomment the following to enable Portal Publisher API configuration
171- /*
170+ /* Portal Publisher API
172171 mavenCentral {
173172 sonatype {
174- active.set( "ALWAYS")
175- url.set( "https://central.sonatype.com/api/v1/publisher")
176- stagingRepository.set ("target/staging-deploy")
173+ active = "ALWAYS"
174+ url = "https://central.sonatype.com/api/v1/publisher"
175+ stagingRepository("target/staging-deploy")
177176 }
178177 }
179178 */
You can’t perform that action at this time.
0 commit comments