代码拉取完成,页面将自动刷新
同步操作将从 花花/zookeeper-web 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
group = 'com.zk'
version = "1.0.0.RELEASE"
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
//apply plugin: 'jetty'
dependencies {
compile 'com.github.adyliu:zkclient:2.1.1'
compile 'org.springframework:spring-webmvc:4.1.1.RELEASE'
compile 'org.springframework:spring-context-support:4.1.1.RELEASE'
compile 'org.freemarker:freemarker:2.3.19'
compile 'com.fasterxml.jackson.core:jackson-databind:2.1.4'
compile 'commons-io:commons-io:2.4'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'commons-beanutils:commons-beanutils:1.9.2'
compile 'org.apache.curator:curator-recipes:4.1.0'
providedCompile 'servletapi:servlet-api:2.4'
testCompile 'junit:junit:4.11'
}
eclipse {
classpath { downloadSources = true }
}
tasks.withType(JavaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
repositories {
mavenLocal()
google()
maven { url "http://jcenter.bintray.com" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
mavenCentral()
}
buildscript {
repositories {
mavenLocal()
google()
maven { url "http://jcenter.bintray.com" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
// jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:2.0.0'
}
}
//repositories {
// mavenLocal()
// maven { url "http://maven.aliyun.com/nexus/content/groups/public"}
//// jcenter()
//}
if (!project.plugins.findPlugin(org.akhikhl.gretty.GrettyPlugin))
project.apply(plugin: org.akhikhl.gretty.GrettyPlugin)
apply plugin: 'org.akhikhl.gretty'
gretty {
httpPort = 8081
// 'jetty7', 'jetty8', 'jetty9', 'jetty93', 'jetty94', 'tomcat7', 'tomcat8'
servletContainer = 'jetty9'
contextPath = '/'
}
task wrapper(type: Wrapper) { gradleVersion = '4.8.1' }
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。