|
@@ -5,8 +5,7 @@ plugins {
|
|
|
}
|
|
|
|
|
|
group = 'com.zoniot'
|
|
|
-version = '0.0.1-SNAPSHOT'
|
|
|
-sourceCompatibility = '1.8'
|
|
|
+archivesBaseName = "ccrc-api-${releaseTime()}"
|
|
|
|
|
|
configurations {
|
|
|
compileOnly {
|
|
@@ -90,7 +89,9 @@ dependencies {
|
|
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-amqp')
|
|
|
}
|
|
|
-
|
|
|
+def releaseTime() {
|
|
|
+ return new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
|
|
|
+}
|
|
|
test {
|
|
|
useJUnitPlatform()
|
|
|
}
|