Add guice

This commit is contained in:
IzzelAliz 2019-07-10 22:51:49 +08:00
parent 6adec465d0
commit ebce2efd54
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ dependencies {
shadow group: 'com.zaxxer', name: 'HikariCP', version: '3.1.0'
shadow group: 'org.scala-lang', name: 'scala-library', version: '2.12.8'
shadow group: 'me.clip', name: 'placeholderapi', version: '2.8.4'
shadow group: 'com.google.inject', name: 'guice', version: '4.2.2'
shadow fileTree(dir: 'libs', includes: ['*.jar'])
}

View File

@ -29,6 +29,7 @@ import java.util.concurrent.Executors;
@Dependency(type = Dependency.Type.LIBRARY, maven = "org.slf4j:slf4j-api:1.7.25", url = "https://skymc.oss-cn-shanghai.aliyuncs.com/libs/org.slf4j-slf4j-api-1.7.25.jar")
@Dependency(type = Dependency.Type.LIBRARY, maven = "com.zaxxer:HikariCP:3.1.0", url = "https://skymc.oss-cn-shanghai.aliyuncs.com/libs/com.zaxxer-HikariCP-3.1.0.jar")
@Dependency(type = Dependency.Type.LIBRARY, maven = "org.scala-lang:scala-library:2.12.8", url = "https://skymc.oss-cn-shanghai.aliyuncs.com/libs/scala-library-2.12.8.jar")
@Dependency(type = Dependency.Type.LIBRARY, maven = "com.google.inject:guice:4.2.2", url = "https://skymc.oss-cn-shanghai.aliyuncs.com/libs/guice-4.2.2.jar")
public class TabooLib {
private static TabooLib inst = new TabooLib();