-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
43 lines (43 loc) · 1.46 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
allprojects{
group 'com.nxin.framework'
version '1.0.3-SNAPSHOT'
ext{
springVersion = '4.2.5.RELEASE'
springSecurityVersion = '4.0.4.RELEASE'
guavaVersion = '19.0'
curatorVersion = '2.9.1'
log4jVersion = '2.5'
fastjsonVersion = '1.2.7'
jedisVersion = '2.7.2'
httpclientVersion="4.5.1"
gsCollectionVersion = '7.0.1'
nxinCommonVersion = '1.0.16-SNAPSHOT'
}
tasks.withType(AbstractCompile){
options.encoding = 'UTF-8'
}
}
subprojects{
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenLocal()
jcenter()
}
dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: "$log4jVersion"
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: "$log4jVersion"
compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: "$log4jVersion"
compile group: 'io.netty', name: 'netty-all', version: '5.0.0.Alpha2'
compile (group: 'com.ecwid.consul', name: 'consul-api', version: '1.1.8'){
exclude(module: 'httpcore')
exclude(module: 'httpclient')
}
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task initdirs <<{
sourceSets*.allSource.srcDirs.flatten()*.mkdirs()
//webAppDir.mkdirs()
}
}