Update build.gradle.kts

This commit is contained in:
Telesphoreo 2022-04-10 17:49:30 -05:00
parent 0c3c9daa64
commit 7406d8f05f
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@ publishing {
repositories { repositories {
maven { 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 { credentials {
username = System.getenv("plexUser") username = System.getenv("plexUser")
password = System.getenv("plexPassword") password = System.getenv("plexPassword")