From 400429a32f670771e4cc1e0c8fd43cd76634021f Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 25 Oct 2022 13:20:14 +0200 Subject: [PATCH] Add jenkinsfile for pipeline build and dockerfile for build Signed-off-by: brian --- cavis-native/cavis-native-lib/build.gradle | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cavis-native/cavis-native-lib/build.gradle b/cavis-native/cavis-native-lib/build.gradle index d0d23f5af..0e18c9428 100644 --- a/cavis-native/cavis-native-lib/build.gradle +++ b/cavis-native/cavis-native-lib/build.gradle @@ -70,7 +70,9 @@ plugins { } chipList.each{ thisChip -> + configurations { + create("${thisChip}SupportImplementation") findByName("${thisChip}SupportImplementation").setCanBeConsumed(true) } } @@ -434,14 +436,6 @@ chipList.each { thisChip -> } } -chipList.each{ thisChip -> - configurations { - implementation.extendsFrom findByName("${thisChip}SupportImplementation") - findByName("${thisChip}SupportImplementation").setCanBeConsumed(true) - } -} - - tasks.withType(JavaCompile) { // options.setCompilerArgs(Arrays.asList("-Xlint:unchecked")) }