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" apply plugin: "com.github.spotbugs"
group 'com.velocitypowered' group 'com.velocitypowered'
version '3.1.0' version '3.1.1-SNAPSHOT'
ext { ext {
// dependency versions // dependency versions

Datei anzeigen

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