3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 00:00:47 +01:00
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 {
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