Merge pull request #2132 from ZacSharp/noForgeMod
don't make non-forge jars valid mods (fixes #2124)
This commit is contained in:
commit
3bbc141e9a
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user