Skip to content

Commit

Permalink
Update EMI and remove the workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
quat1024 committed Jul 16, 2023
1 parent 0f52882 commit 3057ff2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ dependencies {
//modLocalRuntime "maven.modrinth:sodium:mc1.18.2-0.4.1"
}

modCompileOnly "dev.emi:emi-fabric:1.0.8+1.20.1:api"
modCompileOnly "dev.emi:emi-fabric:1.0.11+1.20.1:api"
if(runWithEmi) {
modLocalRuntime "dev.emi:emi-fabric:1.0.8+1.20.1"
modLocalRuntime "dev.emi:emi-fabric:1.0.11+1.20.1"
}
}

Expand Down
6 changes: 3 additions & 3 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ dependencies {

compileOnly project(":Xplat")

compileOnly fg.deobf("dev.emi:emi-forge:1.0.8+1.20.1:api")
testCompileOnly fg.deobf("dev.emi:emi-forge:1.0.8+1.20.1:api") //forgegradle is Weird episode 500
runtimeOnly fg.deobf("dev.emi:emi-forge:1.0.8+1.20.1")
compileOnly fg.deobf("dev.emi:emi-forge:1.0.11+1.20.1:api")
testCompileOnly fg.deobf("dev.emi:emi-forge:1.0.11+1.20.1:api") //forgegradle is Weird episode 500
runtimeOnly fg.deobf("dev.emi:emi-forge:1.0.11+1.20.1")
}

//fold in xplat resources and sources
Expand Down
2 changes: 1 addition & 1 deletion Xplat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
compileOnly "org.spongepowered:mixin:0.8.5"
compileOnly "org.jetbrains:annotations:24.0.1"

compileOnly "dev.emi:emi-xplat-mojmap:1.0.8+1.20.1:api"
compileOnly "dev.emi:emi-xplat-mojmap:1.0.11+1.20.1:api"
}

tasks.withType(GenerateModuleMetadata) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"replace": false,
"values": [
"minecraft:copper_ingot",
{
"required": false,
"id": "working_around_emi_issue_242:remove_this_later"
},
"minecraft:structure_void"
"minecraft:copper_ingot"
]
}

0 comments on commit 3057ff2

Please sign in to comment.