123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- plugins {
- id 'org.springframework.boot' version '2.2.2.RELEASE'
- id 'io.spring.dependency-management' version '1.0.8.RELEASE'
- id 'java'
- }
- group = 'com.zcxk'
- //version = '0.0.1-SNAPSHOT'
- archivesBaseName = "meter-reading-system-v2-${releaseTime()}"
- sourceCompatibility = '1.8'
- tasks.withType(JavaCompile) {
- options.encoding = 'UTF-8'
- }
- def releaseTime() {
- return new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
- }
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- repositories {
- mavenLocal()
- maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- mavenCentral()
- }
- dependencies {
- compile fileTree(dir:'libs',include:['*.jar'])
- compile 'com.zcxk.zoniot:smart-city-common:0.0.1'
-
- implementation 'org.springframework.boot:spring-boot-starter-web'
- implementation 'org.springframework.boot:spring-boot-starter-aop'
- implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.1'
- 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('mysql:mysql-connector-java')
- compile('com.microsoft.sqlserver:sqljdbc4:4.0')
-
- //kafka
- implementation('org.springframework.kafka:spring-kafka')
- //json工具
- compile('com.alibaba:fastjson:1.2.41')
- implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
- implementation 'com.xuxueli:xxl-job-core:2.2.0'
-
- 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'
- }
- }
- test {
- useJUnitPlatform()
- }
|