Javadocs (#154)
* Javadocs * Move to using IFabricJavadocProvider Co-authored-by: mentlerd <mentlerd@gmail.com> * Checkstyledev/0.11
parent
2f775b1c97
commit
c67206297e
|
@ -50,7 +50,7 @@ dependencies {
|
|||
|
||||
// decompilers
|
||||
implementation ('net.fabricmc:procyon-fabric-compilertools:0.5.35.+')
|
||||
implementation ('org.jetbrains:intellij-fernflower:1.0.0.9')
|
||||
implementation ('org.jetbrains:intellij-fernflower:1.1.0.11')
|
||||
|
||||
// source code remapping
|
||||
implementation ('org.cadixdev:mercury:0.1.0.fabric-SNAPSHOT')
|
||||
|
|
|
@ -64,6 +64,7 @@ public class FernFlowerTask extends AbstractDecompileTask implements ForkingJava
|
|||
Map<String, Object> options = new HashMap<>();
|
||||
options.put(IFernflowerPreferences.DECOMPILE_GENERIC_SIGNATURES, "1");
|
||||
options.put(IFernflowerPreferences.BYTECODE_SOURCE_MAPPING, "1");
|
||||
options.put(IFernflowerPreferences.REMOVE_SYNTHETIC, "1");
|
||||
options.put(IFernflowerPreferences.LOG_LEVEL, "trace");
|
||||
getLogging().captureStandardOutput(LogLevel.LIFECYCLE);
|
||||
|
||||
|
@ -78,6 +79,7 @@ public class FernFlowerTask extends AbstractDecompileTask implements ForkingJava
|
|||
}
|
||||
|
||||
args.add("-t=" + getNumThreads());
|
||||
args.add("-m=" + getExtension().getMappingsProvider().tinyMappings.getAbsolutePath());
|
||||
|
||||
//TODO, Decompiler breaks on jemalloc, J9 module-info.class?
|
||||
getLibraries().forEach(f -> args.add("-e=" + f.getAbsolutePath()));
|
||||
|
|
Loading…
Reference in New Issue