|
@@ -8,11 +8,19 @@ plugins {
|
|
|
apply plugin: 'java'
|
|
|
apply plugin: 'war'
|
|
|
|
|
|
+apply plugin: "org.springframework.boot"
|
|
|
+//提供类似Maven dependencyManagement依赖管理功能
|
|
|
+apply plugin: 'io.spring.dependency-management'
|
|
|
+
|
|
|
|
|
|
group = 'com.emato'
|
|
|
version = '1.0.0'
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
+war {
|
|
|
+ archiveBaseName = 'cus-wms-supervise2.0'
|
|
|
+}
|
|
|
+
|
|
|
// 解决中文乱码
|
|
|
tasks.withType(JavaCompile) {
|
|
|
options.encoding = "UTF-8"
|