geforkt von Mirrors/Velocity
I'm crazy
Dieser Commit ist enthalten in:
Ursprung
f6f48e9b2d
Commit
8ea1aef173
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren