mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Add Fabric-Jar-Type to jar manifest.
Either 'classes' or 'sources', the idea is mod distribution platforms can check that sources jars are not uploaded accidentally. Closes #939
This commit is contained in:
@@ -109,6 +109,8 @@ public abstract class RemapJarTask extends AbstractRemapJarTask {
|
||||
// Make outputs reproducible by default
|
||||
setReproducibleFileOrder(true);
|
||||
setPreserveFileTimestamps(false);
|
||||
|
||||
getJarType().set("classes");
|
||||
}
|
||||
|
||||
private void setupPreparationTask() {
|
||||
|
||||
Reference in New Issue
Block a user