mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
throw an error if a jar is missing
This commit is contained in:
@@ -90,6 +90,10 @@ public class ModRemapper {
|
||||
outputConsumer.finish();
|
||||
remapper.finish();
|
||||
|
||||
if(!deobfJar.exists() || !modJar.exists()){
|
||||
throw new RuntimeException("Failed to remap jar");
|
||||
}
|
||||
|
||||
//Add the deobf jar to be uploaded to maven
|
||||
project.getArtifacts().add("archives", deobfJar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user