fabric-loom/src/test/resources/projects/decompile/build.gradle
modmuss50 240a23f52d Improve decompiler options by moving them away from the task.
Done because the split jar changes required registering the decompiler task after evaluation.
As there may be more than one decompile task, the options are set per decompiler and not per task.
This should also make easier to add new decompilers without requiring a plugin.
2022-01-05 09:49:11 +00:00

20 lines
No EOL
315 B
Groovy

plugins {
id 'fabric-loom'
}
dependencies {
minecraft "com.mojang:minecraft:21w38a"
mappings "net.fabricmc:yarn:21w38a+build.11:v2"
modImplementation "net.fabricmc:fabric-loader:0.11.7"
}
loom {
decompilers {
cfr {
options.put("test", "value")
}
fernflower {
options.put("test", "value")
}
}
}