update dependencies, remap LVTs when mapping JAR

dev/0.11
asie 2018-12-20 12:32:02 +01:00
parent 4731589579
commit 1445b8240a
2 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,8 @@ dependencies {
implementation ('org.zeroturnaround:zt-zip:1.13') implementation ('org.zeroturnaround:zt-zip:1.13')
implementation ('com.google.code.gson:gson:2.8.5') implementation ('com.google.code.gson:gson:2.8.5')
implementation ('com.google.guava:guava:27.0.1-jre') implementation ('com.google.guava:guava:27.0.1-jre')
implementation ('net.fabricmc:stitch:0.1.0.28') implementation ('net.fabricmc:stitch:0.1.0.29')
implementation ('net.fabricmc:tiny-remapper:0.1.0.20') { implementation ('net.fabricmc:tiny-remapper:0.1.0.22') {
transitive = false transitive = false
} }
// implementation ('org.benf:cfr:0.136') // implementation ('org.benf:cfr:0.136')

View File

@ -63,6 +63,7 @@ public class MapJarsTiny {
TinyRemapper remapper = TinyRemapper.newRemapper() TinyRemapper remapper = TinyRemapper.newRemapper()
.withMappings(TinyUtils.createTinyMappingProvider(mappings, fromM, toM)) .withMappings(TinyUtils.createTinyMappingProvider(mappings, fromM, toM))
.renameInvalidLocals(true)
.rebuildSourceFilenames(true) .rebuildSourceFilenames(true)
.build(); .build();