From bd6a9afd3de99d454121a73780a33913119a2a7f Mon Sep 17 00:00:00 2001 From: ziro Date: Sun, 19 Nov 2023 09:52:15 +0700 Subject: [PATCH] chore: Use maven.aap instead of GitHub packages --- build.gradle | 4 +--- settings.gradle.kts | 12 ++---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 9cdb600..d05e182 100644 --- a/build.gradle +++ b/build.gradle @@ -60,8 +60,6 @@ group = project.maven_group loom { silentMojangMappingsLicense() - //mixin.defaultRefmapName.set("mixins.cobblegen.refmap.json") - runConfigs.configure { client { runDir = "../../run/client" @@ -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) { diff --git a/settings.gradle.kts b/settings.gradle.kts index 8a528f3..60b9566 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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/") @@ -49,4 +41,4 @@ listOf( projectDir = file("versions/$version") buildFileName = "../../build.gradle" } -} \ No newline at end of file +}