Browse Source

Merge pull request #5007 in CORE/base-third from release/11.0 to feature/x

* commit 'b4b6ccfb98de625bbef040e286135d52b9688a45':
  KERNEL-9267 拆分third.jar为third.jar + cbb.jar
feature/x
superman 3 years ago
parent
commit
93e8f796a9
  1. 10
      build.third_step0-jdk11.gradle
  2. 22
      build.third_step0.gradle

10
build.third_step0-jdk11.gradle

@ -121,15 +121,5 @@ task unpack(type:Copy) {
} }
// essential依赖等级的jar全部解压到classes下
task unpackEssential(type:Copy) {
for (File file : configurations.essential.files) {
from zipTree(file)
}
into classesDir
}
jar.dependsOn unpackEssential
jar.dependsOn unpack jar.dependsOn unpack

22
build.third_step0.gradle

@ -78,9 +78,6 @@ String cbbVersion = findProperty("cbbVersion")
// //
dependencies{ dependencies{
essential "com.fr.essential:fine-essential:${essentialVersion}" essential "com.fr.essential:fine-essential:${essentialVersion}"
essential "com.fr.cbb:fine-scheduler:${cbbVersion}"
essential "com.fr.cbb:fine-function:${cbbVersion}"
essential "com.fr.cbb:fine-sql:${cbbVersion}"
// thirdjar "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT" // thirdjar "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
// sigar "com.fr.third:sigar:1.6.0" // sigar "com.fr.third:sigar:1.6.0"
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
@ -99,7 +96,7 @@ publishing {
third_build(MavenPublication) { third_build(MavenPublication) {
groupId "com.fr.third" groupId "com.fr.third"
artifactId project.hasProperty("withCBB") ? "fine-third" : "fine-third-without-cbb" artifactId "fine-third"
version maven_version_build version maven_version_build
ext.repo = 'snapshot' ext.repo = 'snapshot'
from components.java from components.java
@ -167,19 +164,4 @@ task unpack(type:Copy) {
} }
} }
// essential依赖等级的jar全部解压到classes下 jar.dependsOn unpack
task unpackEssential(type:Copy) {
if (project.hasProperty("withCBB")) {
for (File file : configurations.essential.files) {
from (zipTree(file)) {
exclude "META-INF/versions/11/*"
exclude "META-INF/maven/com.zaxxer/**"
}
}
into classesDir
}
}
unpackEssential.dependsOn unpack
jar.dependsOn unpackEssential
Loading…
Cancel
Save