mirror of
https://github.com/plexusorg/plugin-yml.git
synced 2024-12-22 16:25:06 +00:00
Update build.gradle.kts
This commit is contained in:
parent
0c3c9daa64
commit
7406d8f05f
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue