diff --git a/build.gradle b/build.gradle index a91926dd..0f980546 100755 --- a/build.gradle +++ b/build.gradle @@ -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