update dependencies, remap LVTs when mapping JAR

This commit is contained in:
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 ('com.google.code.gson:gson:2.8.5')
implementation ('com.google.guava:guava:27.0.1-jre')
implementation ('net.fabricmc:stitch:0.1.0.28')
implementation ('net.fabricmc:tiny-remapper:0.1.0.20') {
implementation ('net.fabricmc:stitch:0.1.0.29')
implementation ('net.fabricmc:tiny-remapper:0.1.0.22') {
transitive = false
}
// implementation ('org.benf:cfr:0.136')

View file

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