Skip to content

Commit 0a33593

Browse files
committed
Update SNAPSHOT credentials
1 parent 12698ee commit 0a33593

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)