Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Point all new Maven artifact deploys to Nexus
Dieser Commit ist enthalten in:
Ursprung
85d88d59d3
Commit
4469a89aaa
@ -92,10 +92,14 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'myRepo'
|
credentials {
|
||||||
def base = 'file:///maven-repo'
|
username project.findProperty('nexusUsername') ?: ''
|
||||||
def releasesRepoUrl = "$base/releases"
|
password project.findProperty('nexusPassword') ?: ""
|
||||||
def snapshotsRepoUrl = "$base/snapshots"
|
}
|
||||||
|
name = 'velocity-nexus'
|
||||||
|
def base = 'https://nexus.velocitypowered.com/repository/velocity-artifacts'
|
||||||
|
def releasesRepoUrl = "$base-releases/"
|
||||||
|
def snapshotsRepoUrl = "$base-snapshots/"
|
||||||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren