代码拉取完成,页面将自动刷新
同步操作将从 Collins/Crown 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
description = "Crown2"
configurations {
compile.exclude group: "ch.qos.logback"
compile.exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"
compile.exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat"
compile.exclude group: "org.apache.tomcat", module: "tomcat-jdbc"
compile.exclude group: "com.zaxxer", module: "HikariCP-java7"
}
buildscript {
repositories {
mavenCentral()
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
group = "org.crown"
version = "2.0"
apply plugin: "java-library"
apply plugin: "org.springframework.boot"
apply plugin: 'jacoco'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
//options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
repositories {
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
jcenter()
}
dependencies {
implementation "org.springframework:spring-context-support:5.1.9.RELEASE"
implementation "org.springframework.boot:spring-boot-starter:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-aop:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-undertow:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-thymeleaf:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-log4j2:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-devtools:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-websocket:${springBootVersion}"
implementation "com.baomidou:mybatis-plus-boot-starter:${mybatisPlusVersion}"
implementation "com.baomidou:dynamic-datasource-spring-boot-starter:2.5.6"
implementation "org.apache.shiro:shiro-spring:${shiroVersion}"
implementation "org.apache.shiro:shiro-ehcache:${shiroVersion}"
implementation "io.springfox:springfox-swagger-ui:2.7.0"
implementation("io.springfox:springfox-swagger2:${swaggerVersion}") {
exclude group: "io.swagger", module: "swagger-annotations"
exclude group: "io.swagger", module: "swagger-models"
}
implementation "io.swagger:swagger-annotations:1.5.23"
implementation "io.swagger:swagger-models:1.5.23"
implementation "mysql:mysql-connector-java:8.0.17"
implementation "com.github.pagehelper:pagehelper:5.1.10"
implementation "p6spy:p6spy:3.8.5"
implementation "com.lmax:disruptor:3.4.2"
implementation "org.apache.commons:commons-lang3:3.9"
implementation "commons-io:commons-io:2.5"
implementation "commons-fileupload:commons-fileupload:1.4"
implementation "com.github.theborakompanioni:thymeleaf-extras-shiro:2.0.0"
implementation "org.quartz-scheduler:quartz:2.3.1"
implementation "com.alibaba:fastjson:1.2.60"
//解析客户端操作系统、浏览器等
implementation "eu.bitwalker:UserAgentUtils:1.21"
implementation "org.apache.velocity:velocity:1.7"
implementation "com.github.oshi:oshi-core:4.0.0"
implementation "net.java.dev.jna:jna:5.4.0"
implementation "net.java.dev.jna:jna-platform:5.4.0"
implementation "org.jsoup:jsoup:1.12.1"
implementation "org.apache.poi:poi-ooxml:4.1.0"
implementation "org.modelmapper:modelmapper:2.3.5"
implementation "com.squareup.okhttp3:okhttp:3.12.4"
implementation "com.squareup.okhttp3:logging-interceptor:3.12.4"
implementation "com.sun.mail:javax.mail:1.6.2"
implementation "cn.hutool:hutool-extra:4.6.4"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}"
annotationProcessor 'org.apache.logging.log4j:log4j-core:2.11.2'
compileOnly "org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testCompile "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
testCompile "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
}
tasks.matching { it instanceof Test }.all {
testLogging.events = ["failed", "passed", "skipped"]
}
bootJar {
baseName = "crown2"
version = ""
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
html.destination = new File("${buildDir}/jacocoHtml")
}
afterEvaluate {
classDirectories.setFrom(
files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
'**/common/cons/Regex.class'
])
})
)
}
}
check.dependsOn jacocoTestReport
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。