1 Star 0 Fork 144

956117423/zookeeper-web

forked from 花花/zookeeper-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
956117423 提交于 2019-11-03 11:51 . modify jdk from 1.7 to 1.8
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'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/circlesiyi/zookeeper-web.git
[email protected]:circlesiyi/zookeeper-web.git
circlesiyi
zookeeper-web
zookeeper-web
master

搜索帮助