Optimize build.gradle
This commit is contained in:
parent
1cabe6c14c
commit
d9301f7379
11
build.gradle
11
build.gradle
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user