|
|
|
@ -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 { |
|
|
|
|