throw an error if a jar is missing
parent
69f15e870c
commit
1893966038
|
@ -90,6 +90,10 @@ public class ModRemapper {
|
||||||
outputConsumer.finish();
|
outputConsumer.finish();
|
||||||
remapper.finish();
|
remapper.finish();
|
||||||
|
|
||||||
|
if(!deobfJar.exists() || !modJar.exists()){
|
||||||
|
throw new RuntimeException("Failed to remap jar");
|
||||||
|
}
|
||||||
|
|
||||||
//Add the deobf jar to be uploaded to maven
|
//Add the deobf jar to be uploaded to maven
|
||||||
project.getArtifacts().add("archives", deobfJar);
|
project.getArtifacts().add("archives", deobfJar);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue