|
|
@@ -24,16 +24,17 @@ def currentapp= ext.path.currentapp
|
|
|
def biz= ext.path.biz
|
|
|
|
|
|
dependencies {
|
|
|
- implementation fileTree(dir: bos, include: '**/*.jar')
|
|
|
- implementation fileTree(dir: trd, include: '**/*.jar')
|
|
|
- implementation fileTree(dir: biz, include: '**/*.jar')
|
|
|
- implementation fileTree(dir: cus, include: '**/*.jar')
|
|
|
-
|
|
|
+ implementation fileTree(dir: bos, include: '**/*.jar')
|
|
|
+ implementation fileTree(dir: trd, include: '**/*.jar')
|
|
|
+ implementation fileTree(dir: biz, include: '**/*.jar')
|
|
|
+ implementation fileTree(dir: cus, include: '**/*.jar')
|
|
|
|
|
|
+ implementation project(":zlkj_hr_common")
|
|
|
+ implementation project(":zlkj_hr_opmc")
|
|
|
}
|
|
|
|
|
|
task sourcesJar(type: Jar, dependsOn: build) {
|
|
|
- archiveClassifier = 'sources'
|
|
|
+ classifier = 'sources'
|
|
|
from sourceSets.main.allSource
|
|
|
}
|
|
|
|
|
|
@@ -67,35 +68,35 @@ task zip(type: Zip, dependsOn: jar) {
|
|
|
group 'build'
|
|
|
description '将jar打包成zip'
|
|
|
from 'build/libs'
|
|
|
- destinationDirectory = file('build/zip')
|
|
|
+ destinationDir file('build/zip')
|
|
|
}
|
|
|
|
|
|
task copyZipTodir(type: Copy){
|
|
|
group 'build'
|
|
|
description '拷贝工程产生的build.zip到本地库'
|
|
|
from 'build/zip'
|
|
|
-// destinationDir file('build/zip')
|
|
|
+ destinationDir file('build/zip')
|
|
|
into '../build/zip'
|
|
|
}
|
|
|
|
|
|
test.ignoreFailures true
|
|
|
|
|
|
-// 定义jar包manifest的信息,以便分析问题
|
|
|
-jar {
|
|
|
- archiveBaseName = 'zlkj_hr_opmc'
|
|
|
- version = '1.0'
|
|
|
- manifest {
|
|
|
- attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
|
|
|
- attributes 'Release': ''
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-// 定义zip包manifest的信息,以便分析问题
|
|
|
-zip {
|
|
|
- archiveBaseName = 'zlkj_hr_opmc'
|
|
|
- version = '1.0'
|
|
|
- manifest {
|
|
|
- attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
|
|
|
- attributes 'Release': ''
|
|
|
- }
|
|
|
-}
|
|
|
+// // 定义jar包manifest的信息,以便分析问题
|
|
|
+// jar {
|
|
|
+// baseName = 'zlkj_application_plugin'
|
|
|
+// version = '1.0'
|
|
|
+// manifest {
|
|
|
+// attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
|
|
|
+// attributes 'Release': ''
|
|
|
+// }
|
|
|
+// }
|
|
|
+//
|
|
|
+// // 定义zip包manifest的信息,以便分析问题
|
|
|
+// zip {
|
|
|
+// baseName = 'zlkj_application_plugin'
|
|
|
+// version = '1.0'
|
|
|
+// manifest {
|
|
|
+// attributes 'Builddate': new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("GMT+08:00"))
|
|
|
+// attributes 'Release': ''
|
|
|
+// }
|
|
|
+// }
|