|
@@ -24,6 +24,7 @@ def bos = ext.path.bos
|
|
|
def trd = ext.path.trd
|
|
def trd = ext.path.trd
|
|
|
def cus = ext.path.cus
|
|
def cus = ext.path.cus
|
|
|
def biz = ext.path.biz
|
|
def biz = ext.path.biz
|
|
|
|
|
+def zip = ext.path.zip
|
|
|
def outputdir = ext.path.outputdir
|
|
def outputdir = ext.path.outputdir
|
|
|
|
|
|
|
|
//所有工程共用的配置
|
|
//所有工程共用的配置
|
|
@@ -140,6 +141,17 @@ subprojects {
|
|
|
into cus
|
|
into cus
|
|
|
exclude '*sources.jar','*javadoc.jar','*cosmic-debug*.jar'
|
|
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
|
|
test.ignoreFailures true
|
|
|
|
|
|