Fixed sonatype repos

This commit is contained in:
Erik C. Thauvin 2023-04-15 15:18:08 -07:00
parent 85cf1ee47f
commit 1490b29da5

View file

@ -30,11 +30,9 @@ public class TemplateRenderersBuild extends Project {
.link("https://rife2.github.io/rife2/");
publishOperation()
.repository(version.isSnapshot() ? repository(RIFE2_SNAPSHOTS.location())
.withCredentials(property("rife2Username"), property("rife2Password"))
: repository(RIFE2_RELEASES.location())
.withCredentials(property("rife2Username"), property("rife2Password")))
.repository(repository(SONATYPE_RELEASES.location())
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS.location())
.withCredentials(property("sonatypeUser"), property("sonatypePassword"))
: repository(SONATYPE_RELEASES.location())
.withCredentials(property("sonatypeUser"), property("sonatypePassword")))
.info(new PublishInfo()
.groupId("com.uwyn.rife2")