mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Get the Nexus credentials from the environment
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user