Use the new central portal releases and snapshots locations

This commit is contained in:
Erik C. Thauvin 2025-07-04 17:01:54 -07:00
parent 705d89d7cd
commit 042479e989
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 13 additions and 11 deletions

View file

@ -93,10 +93,9 @@ public class BitlyShortenBuild extends Project {
.include(dependency("com.willowtreeapps.assertk", "assertk-jvm", version(0, 28, 1)));
publishOperation()
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password"))
: repository(SONATYPE_RELEASES_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password")))
.repository(version.isSnapshot() ? repository(CENTRAL_SNAPSHOTS.location())
.withCredentials(property("central.user"), property("central.password"))
: repository(CENTRAL_RELEASES.location()))
.repository(repository("github"))
.info()
.groupId(pkg)