geforkt von Mirrors/Velocity
I'm crazy
Dieser Commit ist enthalten in:
Ursprung
f6f48e9b2d
Commit
8ea1aef173
@ -61,7 +61,7 @@ publishing {
|
||||
repositories {
|
||||
maven {
|
||||
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 snapshotsRepoUrl = "$base/snapshots"
|
||||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren