Browse Source

更新 'build.gradle'

turborao 2 weeks ago
parent
commit
2e254db63f
1 changed files with 12 additions and 0 deletions
  1. 12 0
      build.gradle

+ 12 - 0
build.gradle

@@ -24,6 +24,7 @@ def bos = ext.path.bos
 def trd = ext.path.trd
 def cus = ext.path.cus
 def biz = ext.path.biz
+def zip = ext.path.zip
 def outputdir = ext.path.outputdir
 
 //所有工程共用的配置
@@ -140,6 +141,17 @@ subprojects {
 		into cus
 		exclude '*sources.jar','*javadoc.jar','*cosmic-debug*.jar'
 	 }
+    /**
+     * 将update的jar压缩到zip目录下
+    */
+    task fizip(type: Zip) {
+      group 'build'
+      description '生成财务jzip包'
+      from outputdir
+      include 'nckd-xtpoc-fi*.jar'
+      destinationDirectory = file(zip)
+      archiveFileName = "nckd_fi.zip"
+    }
 	 
 	test.ignoreFailures true