Skip to content

Commit

Permalink
chore: Use maven.aap instead of GitHub packages
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Nov 19, 2023
1 parent c500ad5 commit bd6a9af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ group = project.maven_group
loom {
silentMojangMappingsLicense()

//mixin.defaultRefmapName.set("mixins.cobblegen.refmap.json")

runConfigs.configure {
client {
runDir = "../../run/client"
Expand Down Expand Up @@ -287,7 +285,7 @@ def mcReleaseVersions = [

publishMods {
file = tasks.remapJar.archiveFile
displayName = "[${isFabric ? "Fabric" : (isNeo ? "NeoForge" : "Forge")} MC${mcReleaseVersions[0] + (mcReleaseVersions.size() > 1 ? "+" : "")}] v${project.mod_version}-${project.version_stage}"
displayName = "[${isFabric ? "FABRIC" : (isNeo ? "NEOFORGE" : "FORGE")} MC${mcReleaseVersions[0] + (mcReleaseVersions.size() > 1 ? "+" : "")}] v${project.mod_version}-${project.version_stage}"
changelog = System.getenv("CHANGELOG") ?: "Please visit our [releases](https://github.com/null2264/CobbleGen/releases) for a changelog"
version = project.version
if (isFabric) {
Expand Down
12 changes: 2 additions & 10 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
pluginManagement {
repositories {
maven("https://maven.fabricmc.net/")
// For early access to "unstable" features
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/null2264/architectury-loom")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_PAT")
}
}
maven("https://maven.aap.my.id/releases/") // For early access to "unstable" features
maven("https://maven.architectury.dev/")
maven("https://jitpack.io/")
maven("https://files.minecraftforge.net/maven/")
Expand Down Expand Up @@ -49,4 +41,4 @@ listOf(
projectDir = file("versions/$version")
buildFileName = "../../build.gradle"
}
}
}

0 comments on commit bd6a9af

Please sign in to comment.