geforkt von Mirrors/Velocity
Get the Nexus credentials from the environment
Dieser Commit ist enthalten in:
Ursprung
4469a89aaa
Commit
81aed2cd1d
@ -93,9 +93,10 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
credentials {
|
credentials {
|
||||||
username project.findProperty('nexusUsername') ?: ''
|
username System.getenv("NEXUS_USERNAME")
|
||||||
password project.findProperty('nexusPassword') ?: ""
|
password System.getenv("NEXUS_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|
||||||
name = 'velocity-nexus'
|
name = 'velocity-nexus'
|
||||||
def base = 'https://nexus.velocitypowered.com/repository/velocity-artifacts'
|
def base = 'https://nexus.velocitypowered.com/repository/velocity-artifacts'
|
||||||
def releasesRepoUrl = "$base-releases/"
|
def releasesRepoUrl = "$base-releases/"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren