Browse Source

KERNEL-9267 拆分third.jar为third.jar + cbb.jar

bugfix/KERNEL-11409-jackson
lidongy 3 years ago
parent
commit
10aef806ef
  1. 8
      build.third_step0-jdk11.gradle
  2. 14
      build.third_step0.gradle

8
build.third_step0-jdk11.gradle

@ -59,6 +59,7 @@ configurations {
// essential的对应关系配置在TeamCity // essential的对应关系配置在TeamCity
String essentialVersion = findProperty("essentialVersion") String essentialVersion = findProperty("essentialVersion")
String cbbVersion = findProperty("cbbVersion")
// //
dependencies{ dependencies{
@ -76,6 +77,13 @@ publishing {
artifactId "fine-third" artifactId "fine-third"
version maven_version version maven_version
from components.java from components.java
pom.withXml {
def dep = asNode().appendNode('dependencies');
def node = dep.appendNode("dependency")
node.appendNode("groupId", "com.fr.cbb")
node.appendNode("artifactId", "fine-cbb")
node.appendNode("version", "${cbbVersion}")
}
} }
} }
repositories { repositories {

14
build.third_step0.gradle

@ -92,6 +92,13 @@ publishing {
version maven_version version maven_version
ext.repo = 'release' ext.repo = 'release'
from components.java from components.java
pom.withXml {
def dep = asNode().appendNode('dependencies');
def node = dep.appendNode("dependency")
node.appendNode("groupId", "com.fr.cbb")
node.appendNode("artifactId", "fine-cbb")
node.appendNode("version", "${cbbVersion}")
}
} }
third_build(MavenPublication) { third_build(MavenPublication) {
@ -100,6 +107,13 @@ publishing {
version maven_version_build version maven_version_build
ext.repo = 'snapshot' ext.repo = 'snapshot'
from components.java from components.java
pom.withXml {
def dep = asNode().appendNode('dependencies');
def node = dep.appendNode("dependency")
node.appendNode("groupId", "com.fr.cbb")
node.appendNode("artifactId", "fine-cbb")
node.appendNode("version", "${cbbVersion}")
}
} }
} }
repositories { repositories {

Loading…
Cancel
Save