Skip to content

Commit 1f3a3dd

Browse files
authored
Merge pull request #575 from rfresh2/shadowjar-minimize
2 parents 934f148 + f202f52 commit 1f3a3dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ shadowJar {
186186
'kotlin/**/*.kotlin_metadata',
187187
'kotlin/**/*.kotlin_builtins',
188188
'META-INF/*.version'
189+
minimize {
190+
exclude(dependency('cabaletta:baritone-api:.*'))
191+
exclude(dependency('org.spongepowered:mixin:.*'))
192+
}
189193
configurations = [project.configurations.jarLibs, project.configurations.onlyJarLibs]
190194
relocate 'kotlin', 'com.lambda.shadow.kotlin'
191195
relocate 'kotlinx', 'com.lambda.shadow.kotlinx'

0 commit comments

Comments
 (0)