代码拉取完成,页面将自动刷新
apply plugin: 'java'
apply plugin: 'maven'
group = 'com.xgp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
description = "qq"
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
mavenLocal()
mavenCentral()
}
dependencies {
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.0.5'
compile group: 'org.apache.velocity', name: 'velocity-engine-core', version: '2.0'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
// 集成mongodb
compile(group: 'org.springframework.boot', name: 'spring-boot-starter-data-mongodb', version:'2.1.7.RELEASE') {
exclude(module: 'spring-boot-starter-logging')
}
compile group: 'mysql', name: 'mysql-connector-java', version:'8.0.17'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:'2.1.7.RELEASE'
testCompile(group: 'org.springframework.boot', name: 'spring-boot-starter-test', version:'2.1.7.RELEASE') {
exclude(module: 'junit-vintage-engine')
}
testCompile group: 'org.projectlombok', name: 'lombok', version: '1.16.10'
// xls 03
testCompile group: 'org.apache.poi', name: 'poi', version: '3.9'
// xlsx -7
testCompile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.9'
// 日期格式化工具
testCompile group: 'joda-time', name: 'joda-time', version: '2.10.1'
testCompile group: 'com.alibaba', name: 'easyexcel', version: '2.2.0-beta2'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '2.1.7.RELEASE'
// 热部署插件
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '2.1.7.RELEASE'
// 健康状态监管
compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: '2.1.7.RELEASE'
// websocket 时时通信工具
compile group: 'org.springframework.boot', name: 'spring-boot-starter-websocket', version: '2.1.7.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '2.1.7.RELEASE'
compile group: 'com.alibaba', name: 'druid', version:'1.1.8'
// https://mvnrepository.com/artifact/redis.clients/jedis
testCompile group: 'redis.clients', name: 'jedis', version: '3.2.0'
// https://mvnrepository.com/artifact/com.alibaba/fastjson
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.62'
// 发送Http请求的
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.2.1'
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.2.1'
compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
implementation 'junit:junit:4.12'
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。