From 22dbec0d5ed540ad34ec84e99e047fa384950e92 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Sun, 24 Dec 2023 12:11:55 -0500 Subject: [PATCH] Add Embeddium dependency & make it mandatory In dev, mandatory = true can be removed for testing the vanilla pipeline --- build.gradle | 2 +- gradle.properties | 2 +- src/main/resources/META-INF/mods.toml | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 6cbedf7238..def36b00a6 100644 --- a/build.gradle +++ b/build.gradle @@ -102,7 +102,7 @@ dependencies { mappings loom.officialMojangMappings() forge "net.minecraftforge:forge:${minecraft_version}-${forge_version}" - modCompileOnly "org.embeddedt:embeddium-${minecraft_version}:${embeddium_version}" + modImplementation "org.embeddedt:embeddium-${minecraft_version}:${embeddium_version}" compileOnly "maven.modrinth:distanthorizons:2.0.1-a-1.20.1" forgeRuntimeLibrary(implementation(shadow(project(path: ":glsl-relocated", configuration: "bundledJar")))) { diff --git a/gradle.properties b/gradle.properties index 063e179349..f6379dc521 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,4 +14,4 @@ loom.platform = forge archives_base_name = oculus # Dependencies - embeddium_version=0.2.12-git.149aa28+mc1.20.1 + embeddium_version=0.2.14-git.dbe9f77+mc1.20.1 diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 61971c2b12..c5b783a1e9 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -26,3 +26,10 @@ mandatory = true versionRange = "[1.20.1]" ordering = "NONE" side = "BOTH" + +[[dependencies.oculus]] +modId = "embeddium" +mandatory = true +versionRange = "[0.2.14,)" +ordering = "NONE" +side = "CLIENT" \ No newline at end of file