Skip to content

Commit

Permalink
use maven.lavalink.dev maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Dec 2, 2023
1 parent 3b61c5f commit b78a956
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
mavenCentral() // main maven repo
mavenLocal() // useful for developing
maven("https://m2.dv8tion.net/releases")
maven("https://maven.arbjerg.dev/releases")
maven("https://maven.lavalink.dev/releases")
jcenter()
maven("https://jitpack.io") // build projects directly from GitHub
}
Expand All @@ -51,8 +51,8 @@ subprojects {
configure<PublishingExtension> {
if (findProperty("MAVEN_PASSWORD") != null && findProperty("MAVEN_USERNAME") != null) {
repositories {
val snapshots = "https://maven.arbjerg.dev/snapshots"
val releases = "https://maven.arbjerg.dev/releases"
val snapshots = "https://maven.lavalink.dev/snapshots"
val releases = "https://maven.lavalink.dev/releases"

maven(if ((version as String).endsWith("-SNAPSHOT")) releases else snapshots) {
credentials {
Expand All @@ -62,7 +62,7 @@ subprojects {
}
}
} else {
logger.lifecycle("Not publishing to maven.arbjerg.dev because credentials are not set")
logger.lifecycle("Not publishing to maven.lavalink.dev because credentials are not set")
}
}
configure<MavenPublishBaseExtension> {
Expand Down

0 comments on commit b78a956

Please sign in to comment.