forked from yaojingguo/geekbang-zk-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
32 lines (27 loc) · 834 Bytes
/
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
apply plugin: "java"
apply plugin: "idea"
apply plugin: "application"
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation "org.apache.zookeeper:zookeeper:3.5.5"
implementation "org.apache.curator:curator-recipes:4.2.0"
implementation "org.apache.curator:curator-x-discovery:4.2.0"
implementation "org.apache.curator:curator-x-discovery-server:4.2.0"
testImplementation "junit:junit:4.12"
testImplementation "com.google.truth:truth:1.0"
}
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8"
mainClassName = "org.yao.netty.echo.EchoServer"
test {
testLogging {
showStandardStreams = true
events "passed", "skipped", "failed"
}
}