-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (37 loc) · 1.23 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
subprojects {
apply plugin: 'java'
group 'com.jokerbee'
version '1.0.1'
def logVersion = "2.11.1"
def commonsVersion = 2.6
repositories {
jcenter()
mavenCentral()
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.25'
compile ("org.apache.logging.log4j:log4j-api:${logVersion}",
"org.apache.logging.log4j:log4j-core:${logVersion}",
"org.apache.logging.log4j:log4j-slf4j-impl:${logVersion}")
compile 'com.lmax:disruptor:3.4.2'
compile ("commons-io:commons-io:${commonsVersion}",
"commons-lang:commons-lang:${commonsVersion}")
testCompile 'org.jmockit:jmockit:1.41'
testCompile 'junit:junit:4.12'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
compileJava {
targetCompatibility = JavaVersion.VERSION_15
sourceCompatibility = JavaVersion.VERSION_15
}
jar {
exclude('/log4j2.xml', '/log', '/conf', '/config', '/icon', '/script')
}
task dependentTask(type: Copy) {
from configurations.runtimeClasspath
into "$buildDir/dependLibs"
}
}