Update build.gradle.kts

This commit is contained in:
Telesphoreo 2022-04-10 17:49:30 -05:00
parent 0c3c9daa64
commit 7406d8f05f

View file

@ -55,7 +55,9 @@ publishing {
repositories {
maven {
url = uri("https://nexus.telesphoreo.me/repository/gradle-plugins-snapshots")
val releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/gradle-plugins-releases/")
val snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/gradle-plugins-snapshots/")
url = if (version.toString().endsWith("-SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
credentials {
username = System.getenv("plexUser")
password = System.getenv("plexPassword")