13
0
geforkt von Mirrors/Velocity
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-08-21 23:58:42 -04:00
Ursprung f6f48e9b2d
Commit 8ea1aef173

Datei anzeigen

@ -61,7 +61,7 @@ publishing {
repositories { repositories {
maven { maven {
name = 'myRepo' name = 'myRepo'
def base = project.ext.getCurrentBranchName() == "master" ? File.createTempDir().toURI().toURL().toString() : 'file:///maven-repo' def base = project.ext.getCurrentBranchName() == "master" ? 'file:///maven-repo' : File.createTempDir().toURI().toURL().toString()
def releasesRepoUrl = "$base/releases" def releasesRepoUrl = "$base/releases"
def snapshotsRepoUrl = "$base/snapshots" def snapshotsRepoUrl = "$base/snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl