Skip to content

Commit 2fb261d

Browse files
committed
Fix plugin snapshot publication
1 parent bd18aa7 commit 2fb261d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include-build/mavencentral.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ publishing {
88
username System.env.NEXUS_USER
99
password System.env.NEXUS_PASS
1010
}
11-
url "https://nexusng.tuenti.io/repository/maven-release-private/"
11+
def releasesRepoUrl = "https://nexusng.tuenti.io/repository/maven-release-private/"
12+
def snapshotsRepoUrl = "https://nexusng.tuenti.io/repository/maven-snapshot-private/"
13+
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
1214
}
1315
}
1416
publications {

0 commit comments

Comments
 (0)