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

View File

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