Add module Injector
This commit is contained in:
parent
10279f34ad
commit
577f384fd3
@ -30,6 +30,7 @@ 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.7'
|
||||||
|
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.8.4'
|
||||||
@ -38,6 +39,9 @@ dependencies {
|
|||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
|
||||||
|
// 免得 MANIFEST.MF 里面刷一堆 lib 难看
|
||||||
|
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:.*')
|
||||||
|
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,6 @@
|
|||||||
|
#Wed Jul 10 21:21:15 CST 2019
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
|
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
|
||||||
|
17
injector/build.gradle
Normal file
17
injector/build.gradle
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
id 'scala'
|
||||||
|
}
|
||||||
|
|
||||||
|
group 'me.skymc'
|
||||||
|
version '5.0'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile group: 'org.scala-lang', name: 'scala-library', version: '2.12.8'
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package io.izzel.common.inject;
|
||||||
|
|
||||||
|
public @interface Inject {
|
||||||
|
}
|
@ -1 +1,3 @@
|
|||||||
rootProject.name = 'TabooLib'
|
rootProject.name = 'TabooLib'
|
||||||
|
include 'injector'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user