File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -168,10 +168,10 @@ publishing {
168168 def releasesRepoUrl = layout. buildDirectory. dir(' staging-deploy' )
169169 def snapshotsRepoUrl = " https://central.sonatype.com/repository/maven-snapshots/"
170170 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
171- // credentials {
172- // username = project.findProperty("JRELEASER_MAVENCENTRAL_USERNAME") ?: System.getenv("JRELEASER_MAVENCENTRAL_USERNAME")
173- // password = project.findProperty("JRELEASER_MAVENCENTRAL_PASSWORD") ?: System.getenv("JRELEASER_MAVENCENTRAL_PASSWORD")
174- // }
171+ credentials {
172+ username = project. findProperty(" JRELEASER_MAVENCENTRAL_USERNAME" ) ?: System . getenv(" JRELEASER_MAVENCENTRAL_USERNAME" )
173+ password = project. findProperty(" JRELEASER_MAVENCENTRAL_PASSWORD" ) ?: System . getenv(" JRELEASER_MAVENCENTRAL_PASSWORD" )
174+ }
175175 }
176176 }
177177}
You can’t perform that action at this time.
0 commit comments