Skip to content

Commit

Permalink
set version check to MuonMC maven
Browse files Browse the repository at this point in the history
  • Loading branch information
sylv256 committed Jul 15, 2024
1 parent 9630afb commit 0e81d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-logic/src/main/groovy/gluon.module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ rootProject.afterEvaluate {
boolean publish = true

try {
def xml = new URL("https://maven.quiltmc.org/repository/release/org/quiltmc/qsl/$library/$moduleName/$project.version/" +
def xml = new URL("https://maven.muonmc.org/releases/org/muonmc/gluon/$library/$moduleName/$project.version/" +
"$moduleName-$project.version" + ".pom").text
def metadata = new groovy.xml.XmlSlurper().parseText(xml)

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ afterEvaluate {
task checkVersion {
doFirst {
try {
def xml = new URL("https://maven.quiltmc.org/repository/release/org/quiltmc/qsl/maven-metadata.xml").text
def xml = new URL("https://maven.muonmc.org/releases/org/muonmc/gluon/maven-metadata.xml").text
def metadata = new groovy.xml.XmlSlurper().parseText(xml)
def versions = metadata.versioning.versions.version*.text()

Expand Down

0 comments on commit 0e81d73

Please sign in to comment.