代码拉取完成,页面将自动刷新
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"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。