Browse Source

更改判断条件

hym 3 years ago
parent
commit
096f1f78af
1 changed files with 4 additions and 0 deletions
  1. 4 0
      build.gradle

+ 4 - 0
build.gradle

@@ -2,6 +2,7 @@ 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'
@@ -32,6 +33,8 @@ dependencies {
     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')
@@ -89,6 +92,7 @@ dependencies {
 
     compile('org.springframework.boot:spring-boot-starter-amqp')
 }
+
 def releaseTime() {
     return  new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
 }