瀏覽代碼

修改eccs-admin模块打包方式为war

csk 2 年之前
父節點
當前提交
497d800c75
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 2 2
      build.gradle
  2. 3 0
      eccs-admin/build.gradle

+ 2 - 2
build.gradle

@@ -177,7 +177,7 @@ subprojects {
     }
 }
 
-configure(subprojects.findAll{
+configure(subprojects.findAll(){
     it.name == 'songmao-common' || 'eccs-biz'
 }){
     apply plugin: "org.springframework.boot"
@@ -186,7 +186,7 @@ configure(subprojects.findAll{
     }
 }
 
-configure(subprojects.findAll{
+configure(subprojects.findAll(){
     it.name == 'eccs-admin' || 'eccs-system'
             || 'eccs-framework' || 'eccs-generator' || 'eccs-quartz'
 }){

+ 3 - 0
eccs-admin/build.gradle

@@ -2,6 +2,9 @@ plugins {
 
 }
 
+// 部署为外部服务器时, 配置为war包
+apply plugin: 'war'
+
 dependencies {
     implementation project(':eccs-common'),
             project(':eccs-framework'),