Add guice
This commit is contained in:
parent
6adec465d0
commit
ebce2efd54
@ -33,6 +33,7 @@ dependencies {
|
|||||||
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.8.4'
|
||||||
|
shadow group: 'com.google.inject', name: 'guice', version: '4.2.2'
|
||||||
shadow fileTree(dir: 'libs', includes: ['*.jar'])
|
shadow fileTree(dir: 'libs', includes: ['*.jar'])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 = "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 = "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 = "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 {
|
public class TabooLib {
|
||||||
|
|
||||||
private static TabooLib inst = new TabooLib();
|
private static TabooLib inst = new TabooLib();
|
||||||
|
Loading…
Reference in New Issue
Block a user