代码拉取完成,页面将自动刷新
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
compileJava.options.encoding = 'UTF-8'
version = "1.0"
// gradle war -Denv=local
def env = System.getProperty("env")?:"local"
repositories {
mavenCentral()
}
sourceSets {
main {
resources {
exclude "src/main/resources"
srcDirs = ["src/main/resources/public","src/main/resources/$env"]
}
}
}
dependencies {
testCompile "junit:junit:4.8.2"
// ------------------------------ netty --------------------------
compile 'org.jboss.netty:netty:3.2.9.Final'
// ---------------------------- commons --------------------------
compile 'commons-lang:commons-lang:2.6'
// ----------------------------- logback -------------------------
compile 'log4j:log4j:1.2.16'
compile 'org.slf4j:slf4j-api:1.7.4'
compile 'ch.qos.logback:logback-classic:1.0.11'
compile 'ch.qos.logback:logback-core:1.0.11'
compile 'ch.qos.logback:logback-access:1.0.11'
// --------------------------- datasource ------------------------
compile 'mysql:mysql-connector-java:5.1.11'
// ----------------------------- persist -------------------------
compile 'org.mybatis:mybatis:3.2.0'
// ------------------------------ jackson ------------------------
compile 'com.fasterxml.jackson.core:jackson-core:2.2.2'
compile 'com.fasterxml.jackson.core:jackson-databind:2.2.2'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.2.2'
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。