Skip to content

Commit 9ca95e8

Browse files
committed
don't make non-forge jars valid mods (fixes cabaletta#2124)
1 parent 6d51e10 commit 9ca95e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ javadoc {
117117

118118
jar {
119119
from sourceSets.launch.output, sourceSets.api.output
120+
121+
if (!getProject().hasProperty("baritone.forge_build")) {
122+
exclude "**/BaritoneForgeModXD.class"
123+
exclude "**/mods.toml"
124+
}
125+
120126
preserveFileTimestamps = false
121127
reproducibleFileOrder = true
122128

0 commit comments

Comments
 (0)