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")) }