Merge pull request #2132 from ZacSharp/noForgeMod

don't make non-forge jars valid mods (fixes #2124)
This commit is contained in:
Leijurv 2020-10-30 22:28:03 -07:00 committed by GitHub
commit 3bbc141e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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