Optimize build.gradle

This commit is contained in:
IzzelAliz 2019-07-10 21:45:12 +08:00
parent 1cabe6c14c
commit d9301f7379

View File

@ -37,9 +37,14 @@ dependencies {
}
shadowJar {
// MANIFEST.MF lib
taskActions.removeIf { it.actionClassName.contains 'configureShadowTask' }
dependencies {
it.include it.dependency('org.apache.commons:.*')
it.include it.dependency('org.ow2.asm:.*')
it.include it.dependency('com.google.code.gson:.*')
it.include it.dependency('me.skymc:.*')
}
relocate 'org.apache.commons', 'io.izzel.taboolib.internal.apache'
relocate 'org.objectweb.asm', 'io.izzel.taboolib.internal.asm'
relocate 'com.google.gson', 'io.izzel.taboolib.internal.gson'