update libraries, switch to tiny-remapper as default
parent
5ca71d9d15
commit
a99bee8f7c
|
@ -49,14 +49,14 @@ dependencies {
|
||||||
shade 'com.google.code.gson:gson:2.8.5'
|
shade 'com.google.code.gson:gson:2.8.5'
|
||||||
shade 'commons-io:commons-io:2.6'
|
shade 'commons-io:commons-io:2.6'
|
||||||
shade 'org.apache.commons:commons-lang3:3.8.1'
|
shade 'org.apache.commons:commons-lang3:3.8.1'
|
||||||
shade 'com.google.guava:guava:23.0'
|
shade 'com.google.guava:guava:27.0-jre'
|
||||||
shade ('net.fabricmc:weave:+'){
|
shade ('net.fabricmc:weave:+'){
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
shade ('cuchaz:enigma:0.12.0.+:lib'){
|
shade ('cuchaz:enigma:0.12.0.+:lib'){
|
||||||
exclude group: 'org.ow2.asm'
|
exclude group: 'org.ow2.asm'
|
||||||
}
|
}
|
||||||
shade 'net.fabricmc:tiny-remapper:0.1.0.13'
|
shade 'net.fabricmc:tiny-remapper:0.1.0.14'
|
||||||
shade 'net.sf.jopt-simple:jopt-simple:5.0.4'
|
shade 'net.sf.jopt-simple:jopt-simple:5.0.4'
|
||||||
shade 'org.apache.logging.log4j:log4j-api:2.11.1'
|
shade 'org.apache.logging.log4j:log4j-api:2.11.1'
|
||||||
shade 'org.apache.logging.log4j:log4j-core:2.11.1'
|
shade 'org.apache.logging.log4j:log4j-core:2.11.1'
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class LoomGradleExtension {
|
||||||
public String fabricVersion;
|
public String fabricVersion;
|
||||||
public String pomfVersion;
|
public String pomfVersion;
|
||||||
public String refmapName;
|
public String refmapName;
|
||||||
public String jarMapper = Constants.JAR_MAPPER_ENIGMA; // enigma, tiny
|
public String jarMapper = Constants.JAR_MAPPER_TINY; // enigma, tiny
|
||||||
public boolean localMappings = false;
|
public boolean localMappings = false;
|
||||||
|
|
||||||
//Not to be set in the build.gradle
|
//Not to be set in the build.gradle
|
||||||
|
|
|
@ -44,7 +44,7 @@ public class MapJarsTask extends DefaultTask {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!extension.hasPomf()) {
|
if (!extension.hasPomf()) {
|
||||||
this.getLogger().lifecycle("POMF version not set, skipping mapping!");
|
this.getLogger().lifecycle("Mapping version not set, skipping mapping!");
|
||||||
FileUtils.copyFile(Constants.MINECRAFT_MERGED_JAR.get(extension), Constants.MINECRAFT_MAPPED_JAR.get(extension));
|
FileUtils.copyFile(Constants.MINECRAFT_MERGED_JAR.get(extension), Constants.MINECRAFT_MAPPED_JAR.get(extension));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue