代码拉取完成,页面将自动刷新
group 'org.xupt'
version '0.0.1'
buildscript {
ext {
springBootVersion = '2.1.2.RELEASE'
}
repositories {
maven { url "https://maven.aliyun.com/repository/public"}
maven { url "https://repo1.maven.org/maven2/" }
maven { url "http://unidal.org/nexus/content/repositories/releases/"}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
}
}
ext {
springBootVersion = "2.1.2.RELEASE"
jacksonJsonVersion = "2.10.1"
javaxServletVersion = "4.0.1"
commonsLang3Versin = "3.8.1"
junitVersion = "4.3"
lombokVersion = '1.18.8'
catClientVersion = "3.0.0"
jsoupVersion = "1.12.1"
}
allprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'base'
apply plugin: 'application'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
mainClassName="org.xupt.cat.proxy.api.CatProxyApiApplication"
}
subprojects {
version = parent.version
group = parent.group
repositories {
maven { url "https://maven.aliyun.com/repository/public"}
maven { url "https://repo1.maven.org/maven2/" }
maven { url "http://unidal.org/nexus/content/repositories/releases/"}
}
sourceSets {
main {
resources {
srcDirs = ["src/main/resources", "src/main/resources/"]
}
}
test {
resources {
srcDirs = ["src/test/resources", "src/test/resources/"]
}
}
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-validation:$springBootVersion"
compile "org.springframework.boot:spring-boot-starter:$springBootVersion"
// Log4j2
compile "org.springframework.boot:spring-boot-starter-log4j2:$springBootVersion"
// Apache Commons
compile "org.apache.commons:commons-lang3:$commonsLang3Versin"
//lombok
compile "org.projectlombok:lombok:$lombokVersion"
compile "org.jsoup:jsoup:$jsoupVersion"
// 单元测试
testCompile "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
testCompile "junit:junit:$junitVersion"
}
configurations {
all*.exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"
}
}
project(":cat-proxy-api") {
jar.archiveName = "cat-proxy-api.jar"
dependencies {
compile "javax.servlet:javax.servlet-api:$javaxServletVersion"
compile "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
compile "org.springframework.boot:spring-boot-starter-aop:$springBootVersion"
compile "org.springframework.boot:spring-boot-starter-mail:$springBootVersion"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。