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.
20 lines
No EOL
315 B
Groovy
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")
|
|
}
|
|
}
|
|
} |