-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
43 lines (35 loc) · 1.48 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
apply from: 'http://git.jocean.org/jocean/devconf/raw/master/devconf/build-lib.gradle'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.debug = "on"
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
configurations {
all*.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
all*.exclude group: 'log4j', module: 'log4j'
all*.exclude group: 'commons-logging', module: 'commons-logging'
all { resolutionStrategy.cacheChangingModulesFor 1, 'minutes' }
// all*.exclude group: 'com.netflix.hystrix', module: 'hystrix-core'
}
dependencies {
/* jocean */
compile 'org.jocean:jocean-idiom:0.1.4-SNAPSHOT'
compile 'org.jocean:jocean-j2se:0.0.4-SNAPSHOT'
compile 'org.jocean:jocean-http:0.0.2-SNAPSHOT'
compile 'org.jocean:jocean-redis:0.0.1-SNAPSHOT'
compile 'org.jocean:jocean-svr:0.0.1-SNAPSHOT'
compile 'org.jocean:jocean-jdmk:0.0.2'
compile 'io.jaegertracing:jaeger-client:0.32.0'
compile "com.google.guava:guava:${guavaVersion}"
compile 'com.netflix.hystrix:hystrix-core:1.5.12'
compile 'com.netflix.hystrix:hystrix-serialization:1.5.12'
/* Log */
runtime 'org.slf4j:jcl-over-slf4j:2.0.7'
runtime 'org.slf4j:log4j-over-slf4j:2.0.7'
runtime 'ch.qos.logback:logback-classic:1.3.8'
compile('org.logback-extensions:logback-ext-spring:0.1.5') { transitive = false }
testCompile 'junit:junit:4.13.2'
testCompile 'org.jmockit:jmockit:1.49'
testCompile 'org.jmock:jmock:2.12.0'
}