mirror of https://github.com/cabaletta/baritone
don't make non-forge jars valid mods (fixes #2124)
This commit is contained in:
parent
6d51e10090
commit
9ca95e8e14
|
@ -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