From f4bd8c7400384bc6e2ef0b93f32b65374e3368cd Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 30 Oct 2022 05:39:15 +0100 Subject: [PATCH] Add jenkinsfile for pipeline build and dockerfile for build Signed-off-by: brian --- cavis-full/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index cef1c944d..395654e1c 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -26,7 +26,7 @@ dependencies { && !sproj.name.equals("cavis-nd4j") && !sproj.name.equals("cavis-ui") && !sproj.name.equals("cavis-zoo")) { - api sproj + api project(path: sproj.path, configuration: 'apiElements') } } // if(withCpu) api project(path: ":cavis-native:cavis-native-lib", configuration: "cpuSupportApiElements") @@ -100,7 +100,7 @@ shadowJar { publishing { publications { - mavenJava(MavenPublication) { + /*mavenJava(MavenPublication) { //artifact customFatJar // from components.java /* pom.withXml { @@ -113,8 +113,9 @@ publishing { //dependencyNode.appendNode('classifier', 'linux-x86_64-avx2-cpu') //dependencyNode.appendNode('scope', 'compile') } - */ + } + */ shadow(MavenPublication) { publication -> project.shadow.component(publication) }