123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- buildscript {
- ext {
- springBootVersion = '2.0.6.RELEASE'
- }
- repositories {
- mavenLocal()
- maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- apply plugin: 'java'
- apply plugin: 'org.springframework.boot'
- apply plugin: 'io.spring.dependency-management'
- archivesBaseName = "water-api-${releaseTime()}"
- group = 'com.bz'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- jar {
- version = '0.0.1'
- manifest {
- attributes "Manifest-Version": 1.0,
- 'Main-Class': 'com.bz.smart_city.SmartCityApplication'
- }
- }
- repositories {
- mavenLocal()
- maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- }
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- dependencies {
- compileOnly 'org.projectlombok:lombok:1.18.10'
- annotationProcessor 'org.projectlombok:lombok:1.18.10'
- testCompileOnly 'org.projectlombok:lombok:1.18.10'
- testAnnotationProcessor 'org.projectlombok:lombok:1.18.10'
- 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('org.springframework.boot:spring-boot-starter-amqp')
- implementation('org.springframework.kafka:spring-kafka')
- compile('mysql:mysql-connector-java')
-
-
- compile('com.alibaba:druid-spring-boot-starter:1.1.9')
-
- compile('io.springfox:springfox-swagger2:2.7.0')
- compile('io.springfox:springfox-swagger-ui:2.7.0')
-
-
- compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
- compile ('org.apache.httpcomponents:httpclient:4.5.6')
-
- compile('com.alibaba:fastjson:1.2.41')
- compile('io.jsonwebtoken:jjwt:0.9.0')
-
- 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 'org.apache.poi:poi:3.17'
- compile 'org.apache.poi:poi-ooxml:3.17'
- compile 'org.apache.poi:poi-ooxml-schemas:3.17'
-
-
- compile 'org.jxls:jxls-poi:1.0.16'
-
- compile('org.activiti:activiti-spring-boot-starter-basic:5.22.0')
- compile('dom4j:dom4j:1.6.1')
-
- compile('org.springframework.boot:spring-boot-starter-quartz')
-
-
- compile('com.github.qcloudsms:qcloudsms:1.0.6')
-
- 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')
-
- compile('org.jdom:jdom:1.1')
- }
- tasks.withType(JavaCompile) {
- options.encoding = 'UTF-8'
- }
- def releaseTime() {
- return new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
- }
- allprojects {
- gradle.projectsEvaluated {
- tasks.withType(JavaCompile) {
- options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" }
- }
- }
|