From 10aef806ef7f5d34b7ef98d0a08580b72d57281b Mon Sep 17 00:00:00 2001 From: lidongy <1879087903@qq.com> Date: Wed, 16 Feb 2022 12:19:41 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-9267=20=E6=8B=86=E5=88=86third.jar?= =?UTF-8?q?=E4=B8=BAthird.jar=20+=20cbb.jar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.third_step0-jdk11.gradle | 8 ++++++++ build.third_step0.gradle | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/build.third_step0-jdk11.gradle b/build.third_step0-jdk11.gradle index 63391cb03..1db06deba 100644 --- a/build.third_step0-jdk11.gradle +++ b/build.third_step0-jdk11.gradle @@ -59,6 +59,7 @@ configurations { // 主体代码与essential的对应关系配置在TeamCity String essentialVersion = findProperty("essentialVersion") +String cbbVersion = findProperty("cbbVersion") //指定依赖 dependencies{ @@ -76,6 +77,13 @@ publishing { artifactId "fine-third" version maven_version 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 { diff --git a/build.third_step0.gradle b/build.third_step0.gradle index 4cb7a7c2b..5057b34d5 100644 --- a/build.third_step0.gradle +++ b/build.third_step0.gradle @@ -92,6 +92,13 @@ publishing { version maven_version ext.repo = 'release' 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) { @@ -100,6 +107,13 @@ publishing { version maven_version_build ext.repo = 'snapshot' 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 {