Add module Injector

This commit is contained in:
IzzelAliz 2019-07-10 22:03:31 +08:00
parent 10279f34ad
commit 577f384fd3
5 changed files with 29 additions and 1 deletions

View File

@ -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:.*')

View File

@ -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
View 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'
}

View File

@ -0,0 +1,4 @@
package io.izzel.common.inject;
public @interface Inject {
}

View File

@ -1 +1,3 @@
rootProject.name = 'TabooLib' rootProject.name = 'TabooLib'
include 'injector'