123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- plugins {
- id 'org.springframework.boot' version '2.1.0.RELEASE'
- id 'io.spring.dependency-management' version '1.0.8.RELEASE'
- id 'java'
- id "org.sonarqube" version "3.0"
- }
- group = 'com.zoniot'
- archivesBaseName = "ccrc-api-${releaseTime()}"
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- repositories {
- mavenLocal()
- maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter'
- compileOnly 'org.projectlombok:lombok'
- annotationProcessor 'org.projectlombok:lombok'
- testImplementation('org.springframework.boot:spring-boot-starter-test') {
- exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
- }
- implementation('org.springframework.boot:spring-boot-starter-security')
- implementation('org.springframework.boot:spring-boot-starter-web')
- implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
- implementation('org.springframework.boot:spring-boot-starter-aop')
- implementation('org.springframework.boot:spring-boot-starter-validation')
- implementation('cn.hutool:hutool-all:5.5.4')
-
- implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
- //implementation('org.springframework.boot:spring-boot-starter-amqp')
- //implementation('org.springframework.kafka:spring-kafka')
- compile('mysql:mysql-connector-java')
- //数据源连接池
- //compile('com.alibaba:druid:1.1.6')
- compile('com.alibaba:druid-spring-boot-starter:1.1.9')
- //swagger在线接口文档生成工具
- compile('io.springfox:springfox-swagger2:2.7.0')
- compile('io.springfox:springfox-swagger-ui:2.7.0')
- //分页插件
- //compile('com.github.pagehelper:pagehelper:4.1.0')
- compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
- compile ('org.apache.httpcomponents:httpclient:4.5.6')
- //json工具
- compile('com.alibaba:fastjson:1.2.41')
- compile('io.jsonwebtoken:jjwt:0.9.0')
- //redis
- compile('org.springframework.boot:spring-boot-starter-data-redis')
- {
- exclude group: 'io.lettuce'
- }
- compile('redis.clients:jedis')
- compile('org.apache.commons:commons-pool2')
- compileOnly('org.projectlombok:lombok')
- testImplementation('org.springframework.boot:spring-boot-starter-test')
- compile('org.apache.commons:commons-lang3:3.4')
- compile('commons-collections:commons-collections:3.2.2')
- //poi
- compile 'org.apache.poi:poi:3.17'
- compile 'org.apache.poi:poi-ooxml:3.17'
- compile 'org.apache.poi:poi-ooxml-schemas:3.17'
- //jxls
- //compile 'org.jxls.jxls:2.4.6'
- //compile 'org.jxls:jxls-poi:1.0.16'
- //compile('dom4j:dom4j:1.6.1')
- // quartz
- //compile('org.springframework.boot:spring-boot-starter-quartz')
- //腾讯云
- //compile('com.github.qcloudsms:qcloudsms:1.0.6')
- //netty
- //compile ('io.netty:netty-all:4.1.30.Final')
- compile('org.bouncycastle:bcprov-jdk16:1.46')
- //阿里云
- compile('com.aliyun:aliyun-java-sdk-core:4.1.0')
- //jdom
- compile('org.jdom:jdom:1.1')
- compile('org.springframework.boot:spring-boot-starter-amqp')
- }
- def releaseTime() {
- return new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
- }
- test {
- useJUnitPlatform()
- }
|