Skip to content

Commit

Permalink
3.1.1-SNAPSHOT; publish to PaperMC repository
Browse files Browse the repository at this point in the history
  • Loading branch information
kashike committed Dec 9, 2021
1 parent 292b2f9 commit 6759c14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 5 additions & 8 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}

0 comments on commit 6759c14

Please sign in to comment.