From 49c50af032a8ff1641104e0dc223f8c764a65f35 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Fri, 5 Apr 2024 10:41:12 +0100 Subject: [PATCH 1/2] Specify content filters for each maven repo --- build.gradle | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 4d45fc141..c31306cd2 100644 --- a/build.gradle +++ b/build.gradle @@ -166,6 +166,10 @@ repositories { maven { name = "Blamejared maven botania patchouli" url = 'https://maven.blamejared.com' + content { + includeGroup("vazkii.botania") + includeGroup("vazkii.patchouli") + } } maven { name = "Squiddev maven cct" @@ -178,6 +182,9 @@ repositories { maven { name = "Theillusivec4 maven curios" url = "https://maven.theillusivec4.top/" + content { + includeGroup("top.theillusivec4.curios") + } } maven { name = "LDT Team minecolonies" @@ -189,6 +196,11 @@ repositories { maven { name = "Modmaven Jei" url = 'https://modmaven.dev/' + content { + includeGroup("mezz.jei") + includeGroup("appeng") + includeGroup("mekanism") + } } maven { name = "Create maven" @@ -196,6 +208,7 @@ repositories { content { includeGroup("com.simibubi.create") includeGroup("com.jozufozu.flywheel") + includeGroup("com.tterrag.registrate") } } maven { @@ -208,6 +221,10 @@ repositories { maven { name = "Shedaniel cloth" url = "https://maven.shedaniel.me/" + content { + includeGroup("dev.architectury") + includeGroup("me.shedaniel.cloth") + } } maven { url = uri("https://maven.pkg.github.com/refinedmods/refinedstorage") @@ -215,10 +232,16 @@ repositories { username = "anything" password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX" } + content { + includeModule("com.refinedmods", "refinedstorage") + } } maven { name = 'Kotlin for Forge' url = 'https://thedarkcolour.github.io/KotlinForForge/' + content { + includeModule("thedarkcolour", "kotlinforforge") + } } maven { url = "https://cursemaven.com" @@ -226,10 +249,6 @@ repositories { includeGroup "curse.maven" } } - maven { - name = "Intelligence repository" - url = "https://mvn.intelligence-modding.de/Intelligence" - } } configurations { @@ -594,4 +613,4 @@ publishing { } } } -} \ No newline at end of file +} From cf41ef51fa5f0fe776daef63b244402feb66e273 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Fri, 5 Apr 2024 10:58:18 +0100 Subject: [PATCH 2/2] Add content specs in settings.gradle --- settings.gradle | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/settings.gradle b/settings.gradle index 1f951a0ba..b8b50083c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,10 +5,14 @@ pluginManagement { maven { name = 'NeoForged' url = 'https://maven.neoforged.net/releases' - } - maven { - name = "Intelligence Minecraft" - url = "https://mvn.intelligence-modding.de/Minecraft" + + content { + includeGroup("net.minecraftforge") + includeGroup("net.neoforged.gradle") + includeGroup("net.neoforged") + includeGroup("org.spongepowered.mixin") + includeGroup("org.spongepowered") + } } } }