Probably fix mods.toml not being copied into the first output jar
Why does finalizedBy run before the actual task? Why does the gradle copy task not create folders as needed? Why did I ever write any gradle code in the first place?
@@ -225,6 +225,8 @@ def buildPaths = [
// task to add mods.toml to all relevant folders
task replaceResources {
+ // ensure directory exists, first build likes to fail
+ new File("${processResources.destinationDir}/META-INF").mkdirs()
// copy for gradle
copy {
outputs.upToDateWhen { false }
