don't make non-forge jars valid mods (fixes #2124)

This commit is contained in:
ZacSharp 2020-10-28 01:19:20 +01:00
parent 6d51e10090
commit 9ca95e8e14
No known key found for this signature in database
GPG Key ID: 9453647B005083A3
1 changed files with 6 additions and 0 deletions

View File

@ -117,6 +117,12 @@ javadoc {
jar {
from sourceSets.launch.output, sourceSets.api.output
if (!getProject().hasProperty("baritone.forge_build")) {
exclude "**/BaritoneForgeModXD.class"
exclude "**/mods.toml"
}
preserveFileTimestamps = false
reproducibleFileOrder = true