fixed gradle corrupting images
@@ -65,7 +65,8 @@ processResources
exclude 'mcmod.info'
}
- filter ReplaceTokens, tokens: [
+ filesNotMatching("**/*.png") {
+ it.filter ReplaceTokens, tokens: [
"forgehax.version" : project.property("forgehax.version"),
"forgehax.mc.version" : project.property("forgehax.mc.version"),
"forgehax.forge.version": project.property("forgehax.forge.version"),
@@ -74,6 +75,7 @@ processResources
"forgehax.mcp.mapping" : project.property("forgehax.mcp.mapping")
]
}
+}
task setGameDir() {
// Check if custom gamedir has been passed, if not use default ones per platform
