Parcourir la source

Merge remote-tracking branch 'master/master'

Tyx il y a 1 mois
Parent
commit
5973609f5a
3 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 10 0
      build.gradle
  2. 1 0
      config.gradle
  3. 1 0
      gradle.properties

+ 10 - 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,15 @@ subprojects {
 		into cus
 		exclude '*sources.jar','*javadoc.jar','*cosmic-debug*.jar'
 	 }
+  
+    task basezip(type: Zip) {
+      group 'build'
+      description '生成base zip包'
+      from outputdir
+      include 'nckd-wnq01*.jar'
+      destinationDirectory = file(zip)
+      archiveFileName = "nckd-wnq01.zip"
+    }
 	 
 	test.ignoreFailures true
 	

+ 1 - 0
config.gradle

@@ -38,6 +38,7 @@ ext	{
 		bos : "${cosmic_libs_path}/bos",
 		biz : "${cosmic_libs_path}/biz",
 		cus : "${cosmic_libs_path}/cus",
+        zip : "${cosmic_libs_path}/zip",
 		outputdir : "${cosmic_libs_path}/outputdir",
 		lib : rootDir.path + "/code/lib"
 	]

+ 1 - 0
gradle.properties

@@ -17,6 +17,7 @@ systemProp.new_cosmic_project=true
 systemProp.developer_flag=nckd
 #--This is the project flag
 systemProp.project_flag=wnq01
+systemProp.cosmic_libs_path=/var/jenkins_home/lib
 #--This is the project dir
 systemProp.project_dir=D:/ideaworkspace-wnqpoc/wnqpoc
 #--This is the dir for cosmic project libs and static resouces