MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
516 stars 443 forks source link

[5.x] Add more configuration to jarJar #879

Closed SizableShrimp closed 2 years ago

SizableShrimp commented 2 years ago

Add jarJar.disable() Add jarJar.disableDefaultSources() Add configurations minecraftLibrary and minecraftEmbed minecraftLibrary = Non-MC libs that should be added to legacyClasspath (replaces https://gist.github.com/SizableShrimp/66b22f1b24c255e1491c8d98d3f11f83) minecraftEmbed = Deps that should be JIJed and put into implementation

People who want minecraftLibrary to also enable JIJ should use

configurations {
    minecraftEmbed.extendsFrom minecraftLibrary
}