Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Point all new Maven artifact deploys to Nexus
Dieser Commit ist enthalten in:
Ursprung
5bea13c74e
Commit
f20c6ff3ea
@ -84,10 +84,14 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = 'myRepo'
|
||||
def base = 'file:///maven-repo'
|
||||
def releasesRepoUrl = "$base/releases"
|
||||
def snapshotsRepoUrl = "$base/snapshots"
|
||||
credentials {
|
||||
username project.findProperty('nexusUsername') ?: ''
|
||||
password project.findProperty('nexusPassword') ?: ""
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren