From c912c4ece1e6ccfaeb81d31bb323e58d2780cbc5 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 25 Oct 2022 13:51:11 +0200 Subject: [PATCH] Add jenkinsfile for pipeline build and dockerfile for build Signed-off-by: brian --- cavis-full/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index 7421de739..57cb823df 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -93,6 +93,15 @@ publishing { mavenJava(MavenPublication) { // artifact customFatJar // from components.java + pom.withXml { + def dependencyNode = asNode().appendNode('dependencies').appendNode('dependency') + dependencyNode.appendNode('groupId', 'net.brutex.cavis') + dependencyNode.appendNode('artifactId', 'cavis-native-lib') + dependencyNode.appendNode('version', project.version) + dependencyNode.appendNode('classifier', 'linux-x86_64-avx2-cpu') + dependencyNode.appendNode('scope', 'compile') + + } } } }