Browse Source

DEC-17833 feat: CBB独立发布 third打包脚本修改

bugfix/10.0
Cloud.Liu 4 years ago
parent
commit
1f7e8016bd
  1. 7
      build.third_step0.gradle

7
build.third_step0.gradle

@ -99,7 +99,7 @@ publishing {
third_build(MavenPublication) {
groupId "com.fr.third"
artifactId "fine-third"
artifactId project.hasProperty("withCBB") ? "fine-third-without-cbb" : "fine-third"
version maven_version_build
ext.repo = 'snapshot'
from components.java
@ -169,10 +169,15 @@ task unpack(type:Copy) {
// essential依赖等级的jar全部解压到classes下
task unpackEssential(type:Copy) {
if (project.hasProperty("withCBB")) {
println "withCBB"
for (File file : configurations.essential.files) {
from zipTree(file)
}
into classesDir
} else {
println "withoutCBB"
}
}
unpackEssential.dependsOn unpack

Loading…
Cancel
Save