mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-06 16:40:52 +08:00
Get the Nexus credentials from the environment
This commit is contained in:
parent
f20c6ff3ea
commit
e038a71baf
@ -85,9 +85,10 @@ publishing {
|
||||
repositories {
|
||||
maven {
|
||||
credentials {
|
||||
username project.findProperty('nexusUsername') ?: ''
|
||||
password project.findProperty('nexusPassword') ?: ""
|
||||
username System.getenv("NEXUS_USERNAME")
|
||||
password System.getenv("NEXUS_PASSWORD")
|
||||
}
|
||||
|
||||
name = 'velocity-nexus'
|
||||
def base = 'https://nexus.velocitypowered.com/repository/velocity-artifacts'
|
||||
def releasesRepoUrl = "$base-releases/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user