From 85f68997e097e3dfdcf522b2cd908d553b008180 Mon Sep 17 00:00:00 2001 From: Kneelawk Date: Wed, 17 Apr 2024 12:32:36 -0700 Subject: [PATCH] Re-add sodium/embeddium, iris/oculus, starlight dependencies --- common/build.gradle | 17 +++++++++++++++++ fabric/build.gradle | 23 +++++++++++++++++++++++ forge/build.gradle | 20 ++++++++++++++++++++ gradle.properties | 7 +++++++ 4 files changed, 67 insertions(+) diff --git a/common/build.gradle b/common/build.gradle index c690035d6..30d460a3b 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -12,6 +12,23 @@ repositories { name = 'ParchmentMC' url = 'https://maven.parchmentmc.org' } + maven { + url 'https://www.cursemaven.com' + content { + includeGroup "curse.maven" + } + } + maven { + name 'tterrag maven' + url 'https://maven.tterrag.com/' + } + maven { + name = "Modrinth" + url = "https://api.modrinth.com/maven" + content { + includeGroup "maven.modrinth" + } + } mavenCentral() } diff --git a/fabric/build.gradle b/fabric/build.gradle index 6d44e1948..7b3d10222 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -35,6 +35,23 @@ repositories { name = 'ParchmentMC' url = 'https://maven.parchmentmc.org' } + maven { + url 'https://www.cursemaven.com' + content { + includeGroup "curse.maven" + } + } + maven { + name 'tterrag maven' + url 'https://maven.tterrag.com/' + } + maven { + name = "Modrinth" + url = "https://api.modrinth.com/maven" + content { + includeGroup "maven.modrinth" + } + } mavenCentral() } @@ -52,6 +69,12 @@ dependencies { modLocalRuntime "net.fabricmc.fabric-api:fabric-api:$fabric_api_version" compileOnly project(path: ':common', configuration: 'namedElements') + + // switch to implementation for debugging + modCompileOnly "maven.modrinth:starlight:$starlight_version" + + modCompileOnly "maven.modrinth:sodium:$sodium_version" + modCompileOnly "maven.modrinth:iris:$iris_version" } java { diff --git a/forge/build.gradle b/forge/build.gradle index 8feaa4c8e..ed45787f3 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -35,6 +35,23 @@ repositories { name = 'ParchmentMC' url = 'https://maven.parchmentmc.org' } + maven { + url 'https://www.cursemaven.com' + content { + includeGroup "curse.maven" + } + } + maven { + name 'tterrag maven' + url 'https://maven.tterrag.com/' + } + maven { + name = "Modrinth" + url = "https://api.modrinth.com/maven" + content { + includeGroup "maven.modrinth" + } + } mavenCentral() } @@ -48,6 +65,9 @@ dependencies { forge "net.minecraftforge:forge:${minecraft_version}-${forge_version}" compileOnly project(path: ':common', configuration: 'namedElements') + + modCompileOnly "maven.modrinth:embeddium:$embeddium_version" + modCompileOnly "maven.modrinth:oculus:$oculus_version" } java { diff --git a/gradle.properties b/gradle.properties index 1f59a4afe..c21a937b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,3 +22,10 @@ mixin_version = 0.8.5 librarian_version = 1.+ cursegradle_version = 1.4.0 parchment_version = 2023.09.03 + +# dependency mod versions +embeddium_version = 0.3.9+mc1.20.1 +oculus_version = 1.20.1-1.6.15a +sodium_version = mc1.20.1-0.5.8 +iris_version = 1.6.17+1.20.1 +starlight_version = 1.1.2+1.20