Use the new central portal releases and snapshots locations
This commit is contained in:
parent
705d89d7cd
commit
042479e989
5 changed files with 13 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue