[ci skip]Added molia maven repo

This commit is contained in:
M2ke4U
2024-08-12 18:31:13 +08:00
committed by GitHub
parent 79a21ab81a
commit a1fffec02a

View File

@@ -93,3 +93,31 @@ paperweight {
}
}
}
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/")
credentials.username = System.getenv("MAVEN_REPO_USER")
credentials.password = System.getenv("MAVEN_REPO_PASSWORD")
}
publications {
register<MavenPublication>("gpr") {
from(components["java"])
}
}
}
}
}