🎈 update dependencies version

This commit is contained in:
Arasple 2020-01-24 13:47:15 +08:00
parent 1483ba8e84
commit 45943f6d1e

View File

@ -30,11 +30,11 @@ dependencies {
} }
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8' compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8'
compile group: 'org.ow2.asm', name: 'asm', version: '7.0-beta' compile group: 'org.ow2.asm', name: 'asm', version: '7.0-beta'
compile group: 'com.google.code.gson', name: 'gson', version: '2.7' compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile subprojects compile subprojects
shadow group: 'com.zaxxer', name: 'HikariCP', version: '3.1.0' shadow group: 'com.zaxxer', name: 'HikariCP', version: '3.1.0'
shadow group: 'org.scala-lang', name: 'scala-library', version: '2.12.8' shadow group: 'org.scala-lang', name: 'scala-library', version: '2.12.8'
shadow group: 'me.clip', name: 'placeholderapi', version: '2.8.4' shadow group: 'me.clip', name: 'placeholderapi', version: '2.10.4'
shadow group: 'com.google.inject', name: 'guice', version: '4.2.2' shadow group: 'com.google.inject', name: 'guice', version: '4.2.2'
shadow fileTree(dir: 'libs', includes: ['*.jar']) shadow fileTree(dir: 'libs', includes: ['*.jar'])
} }
@ -43,14 +43,14 @@ shadowJar {
// MANIFEST.MF lib // MANIFEST.MF lib
taskActions.removeIf { it.actionClassName.contains 'configureShadowTask' } taskActions.removeIf { it.actionClassName.contains 'configureShadowTask' }
dependencies { dependencies {
it.include it.dependency('org.apache.commons:.*') it.include it.dependency('org.apache.commons:.*')
it.include it.dependency('org.ow2.asm:.*') it.include it.dependency('org.ow2.asm:.*')
it.include it.dependency('com.google.code.gson:.*') it.include it.dependency('com.google.code.gson:.*')
it.include it.dependency('me.skymc:.*') it.include it.dependency('me.skymc:.*')
} }
relocate 'org.apache.commons', 'io.izzel.taboolib.internal.apache' relocate 'org.apache.commons', 'io.izzel.taboolib.internal.apache'
relocate 'org.objectweb.asm', 'io.izzel.taboolib.internal.asm' relocate 'org.objectweb.asm', 'io.izzel.taboolib.internal.asm'
relocate 'com.google.gson', 'io.izzel.taboolib.internal.gson' relocate 'com.google.gson', 'io.izzel.taboolib.internal.gson'