13
0
geforkt von Mirrors/Velocity

3.1.1-SNAPSHOT; publish to PaperMC repository

Dieser Commit ist enthalten in:
Riley Park 2021-12-09 10:08:12 -08:00
Ursprung 292b2f96ab
Commit 6759c14ea8
2 geänderte Dateien mit 6 neuen und 9 gelöschten Zeilen

Datei anzeigen

@ -17,7 +17,7 @@ allprojects {
apply plugin: "com.github.spotbugs"
group 'com.velocitypowered'
version '3.1.0'
version '3.1.1-SNAPSHOT'
ext {
// dependency versions

Datei anzeigen

@ -1,16 +1,13 @@
publishing {
repositories {
maven {
credentials {
username System.getenv("NEXUS_USERNAME")
password System.getenv("NEXUS_PASSWORD")
}
credentials(PasswordCredentials.class)
name = 'velocity-nexus'
def base = 'https://nexus.velocitypowered.com/repository/velocity-artifacts'
def releasesRepoUrl = "$base-release/"
name = 'paper'
def base = 'https://papermc.io/repo/repository/maven-'
def releasesRepoUrl = "$base-releases/"
def snapshotsRepoUrl = "$base-snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}
}
}
}