aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-07-27 03:08:03 +0800
committerGitHub <noreply@github.com>2021-07-26 20:08:03 +0100
commit75234f4cbde7392f47a593b670b51cdda821e030 (patch)
treebc90728671a966097da36329ba643c43d1c78cd4 /src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java
parentb558ee1a4604a0fbf0eba8edab401f2a831e4fb6 (diff)
downloadarchitectury-loom-75234f4cbde7392f47a593b670b51cdda821e030.tar.gz
architectury-loom-75234f4cbde7392f47a593b670b51cdda821e030.tar.bz2
architectury-loom-75234f4cbde7392f47a593b670b51cdda821e030.zip
Use Property in LoomGradleExtension & Move task groups to constants (#445)
* Use Property in LoomGradleExtension Signed-off-by: shedaniel <daniel@shedaniel.me> * Fix customMinecraftManifest Signed-off-by: shedaniel <daniel@shedaniel.me> * Add deprecation messages, let's wait for the tests to run to fix the tests that are using deprecated apis Signed-off-by: shedaniel <daniel@shedaniel.me> * Apply license Signed-off-by: shedaniel <daniel@shedaniel.me> * Update src/main/java/net/fabricmc/loom/util/DeprecationHelper.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * Fix some tests, move mixinRefmapName -> mixin.defaultRefmapName Signed-off-by: shedaniel <daniel@shedaniel.me> * Move back to the api Signed-off-by: shedaniel <daniel@shedaniel.me> * Fix some tests Signed-off-by: shedaniel <daniel@shedaniel.me> * Apply reviews Signed-off-by: shedaniel <daniel@shedaniel.me> * Update src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: modmuss50 <modmuss50@gmail.com>
Diffstat (limited to 'src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java')
-rw-r--r--src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java b/src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java
index 40380a4d..bd51c4e8 100644
--- a/src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java
+++ b/src/main/java/net/fabricmc/loom/decompilers/DecompilerConfiguration.java
@@ -36,7 +36,7 @@ public final class DecompilerConfiguration {
public static void setup(Project project) {
LoomGradleExtension extension = LoomGradleExtension.get(project);
- extension.addDecompiler(new FabricFernFlowerDecompiler(project));
- extension.addDecompiler(new FabricCFRDecompiler(project));
+ extension.getGameDecompilers().add(new FabricFernFlowerDecompiler(project));
+ extension.getGameDecompilers().add(new FabricCFRDecompiler(project));
}
}