Fix V2 regressions (#146)

* fix regressions

* Supposedly fix kotlin compile error
dev/0.11
Fudge 2019-11-11 15:21:59 +02:00 committed by modmuss50
parent 35437891b5
commit 458eaabb7e
2 changed files with 4 additions and 5 deletions

View File

@ -39,17 +39,15 @@ dependencies {
implementation ('com.google.guava:guava:28.0-jre') implementation ('com.google.guava:guava:28.0-jre')
// game handling utils // game handling utils
implementation ('net.fabricmc:stitch:0.3.0.66') { implementation ('net.fabricmc:stitch:0.4.0.67') {
exclude module: 'enigma' exclude module: 'enigma'
} }
// tinyfile management // tinyfile management
implementation ('net.fabricmc:tiny-remapper:0.2.0.53') { implementation ('net.fabricmc:tiny-remapper:0.2.0.56') {
transitive = false transitive = false
} }
implementation ('net.fabricmc:fabric-mixin-compile-extensions:0.2.0.3'){ implementation ('net.fabricmc:fabric-mixin-compile-extensions:0.2.0.3')
exclude group :"net.fabricmc"
}
// decompilers // decompilers
implementation ('net.fabricmc:procyon-fabric-compilertools:0.5.35.+') implementation ('net.fabricmc:procyon-fabric-compilertools:0.5.35.+')

View File

@ -169,6 +169,7 @@ public class ModProcessor {
TinyRemapper remapper = TinyRemapper.newRemapper() TinyRemapper remapper = TinyRemapper.newRemapper()
.withMappings(TinyRemapperMappingsHelper.create(mappingsProvider.getMappings(), fromM, toM, false)) .withMappings(TinyRemapperMappingsHelper.create(mappingsProvider.getMappings(), fromM, toM, false))
.renameInvalidLocals(true)
.build(); .build();
try (OutputConsumerPath outputConsumer = new OutputConsumerPath.Builder(Paths.get(output.getAbsolutePath())).build()) { try (OutputConsumerPath outputConsumer = new OutputConsumerPath.Builder(Paths.get(output.getAbsolutePath())).build()) {