Skip to content

Commit

Permalink
Add Embeddium dependency & make it mandatory
Browse files Browse the repository at this point in the history
In dev, mandatory = true can be removed for testing the vanilla
pipeline
  • Loading branch information
embeddedt committed Dec 24, 2023
1 parent 95a679a commit 22dbec0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")))) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 22dbec0

Please sign in to comment.