From f1695eb8aed825f0d2a7ca36ba876e6a8e614786 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 24 Oct 2022 14:29:10 +0200 Subject: [PATCH] Add jenkinsfile for pipeline build and dockerfile for build Signed-off-by: brian --- cavis-common-platform/build.gradle | 3 ++- cavis-full/build.gradle | 17 ++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/cavis-common-platform/build.gradle b/cavis-common-platform/build.gradle index 81851f931..aaf070d84 100644 --- a/cavis-common-platform/build.gradle +++ b/cavis-common-platform/build.gradle @@ -160,6 +160,7 @@ dependencies { } } +/* publishing { publications { myPlatform(MavenPublication) { @@ -167,7 +168,7 @@ publishing { } } } - +*/ tasks.withType(GenerateModuleMetadata).configureEach { // The value 'enforced-platform' is provided in the validation diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index edfa7137d..5805abe6a 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -24,17 +24,20 @@ dependencies { && !sproj.name.equals("cavis-nd4j") && !sproj.name.equals("cavis-ui") && !sproj.name.equals("cavis-zoo")) { - - implementation(projects.cavisNative.cavisNativeLib) { - capabilities { - //it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version) - it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version) - } - } + api sproj } } + + implementation(projects.cavisNative.cavisNativeLib) { + capabilities { + //it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version) + it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version) + } + } + } + /* tasks.getByName("jar") {