代码拉取完成,页面将自动刷新
apply plugin: 'java'
apply plugin: 'idea'
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = 'utf-8'
}
compileTestJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = 'utf-8'
}
version = '1.0'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
repositories {
mavenCentral()
mavenLocal()
}
ext.slf4jVersion = "1.7.6"
ext.springVersion = "4.1.0.RELEASE"
ext.powerMockVersion = "1.5.4"
ext.logbackVersion = "1.1.1"
ext.jettyVersion = "9.3.0.M2"
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11' //此处不能用${junitVersion}
compile "ch.qos.logback:logback-core:${logbackVersion}"
compile "ch.qos.logback:logback-core:${logbackVersion}",
"org.slf4j:slf4j-api:${slf4jVersion}",
"org.eclipse.jetty:jetty-server:${jettyVersion}",
"org.eclipse.jetty:jetty-xml:${jettyVersion}",
"org.eclipse.jetty:jetty-webapp:${jettyVersion}",
"org.eclipse.jetty:jetty-deploy:${jettyVersion}",
"org.eclipse.jetty:jetty-quickstart:${jettyVersion}"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。