Skip to content

Commit

Permalink
Remove github packages, gpr registration and use snapshot repo
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHua269 committed Aug 12, 2024
1 parent e22eb0f commit 06bb9d0
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -111,27 +111,13 @@ tasks.generateDevelopmentBundle {
allprojects {
publishing {
repositories {
maven {
name = "githubPackage"
url = uri("https://maven.pkg.github.com/LuminolMC/Luminol")

credentials.username = System.getenv("GITHUB_USERNAME")
credentials.password = System.getenv("GITHUB_TOKEN")
}

maven {
name = "moliaMavenRepo"
url = uri("https://maven.moliatopia.icu/repository/maven-releases/")
url = uri("https://maven.moliatopia.icu/repository/maven-snapshots/")

credentials.username = System.getenv("MAVEN_REPO_USER")
credentials.password = System.getenv("MAVEN_REPO_PASSWORD")
}

publications {
register<MavenPublication>("gpr") {
from(components["java"])
}
}
}
}
}
Expand Down

0 comments on commit 06bb9d0

Please sign in to comment.