updated to publish dev builds to the dev repo

This commit is contained in:
Sxtanna 2020-07-28 14:47:37 -04:00
parent 9ef5cedfd6
commit a6ab3a2a03

@ -82,7 +82,12 @@ sourceSets {
publishing { publishing {
repositories { repositories {
maven { maven {
url = uri("https://repo.extendedclip.com/content/repositories/public/")
if (version.contains("-DEV-")) {
url = uri("https://repo.extendedclip.com/content/repositories/dev/")
} else {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
credentials { credentials {
username = System.getenv("JENKINS_USER") username = System.getenv("JENKINS_USER")