Skip to content

Commit

Permalink
fix(api): unused JDA classes should remain (fixes #37) (#38)
Browse files Browse the repository at this point in the history
We don't know what other modules may or may not use from JDA

build(cmds): do not register non-existent mixins
build(presence): do not register non-existent mixins
  • Loading branch information
axieum authored Jun 30, 2022
1 parent eb70c2b commit 35c6599
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ maven_group = me.axieum.mcmod.minecord
github_repo = axieum/minecord

# Other
org.gradle.jvmargs=-Xmx1G
org.gradle.jvmargs=-Xmx1536M
2 changes: 1 addition & 1 deletion minecord-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ shadowJar {
// relocate 'tomp2p.opuswrapper', "${dest}.tomp2p.opuswrapper"

// Minify the result - remove unused classes
minimize()
// minimize()
}

// Provide the fat-jar to Fabric's remapping task
Expand Down
4 changes: 1 addition & 3 deletions minecord-cmds/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"me.axieum.mcmod.minecord.impl.cmds.MinecordCommandsImpl"
]
},
"mixins": [
"minecord-cmds.mixins.json"
],
"mixins": [],
"depends": {
"java": ">=17",
"minecraft": "1.19.x",
Expand Down
4 changes: 1 addition & 3 deletions minecord-presence/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"me.axieum.mcmod.minecord.impl.presence.MinecordPresenceImpl"
]
},
"mixins": [
"minecord-presence.mixins.json"
],
"mixins": [],
"depends": {
"java": ">=17",
"minecraft": "1.19.x",
Expand Down

0 comments on commit 35c6599

Please sign in to comment.