diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index 395654e1c..a2724ffd4 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -26,19 +26,19 @@ dependencies { && !sproj.name.equals("cavis-nd4j") && !sproj.name.equals("cavis-ui") && !sproj.name.equals("cavis-zoo")) { - api project(path: sproj.path, configuration: 'apiElements') + implementation project(path: sproj.path, configuration: 'apiElements') } } // if(withCpu) api project(path: ":cavis-native:cavis-native-lib", configuration: "cpuSupportApiElements") // if(withCuda) api project(path: ":cavis-native:cavis-native-lib", configuration: "cudaSupportApiElements") - api(projects.cavisNative.cavisNativeLib) { + implementation(projects.cavisNative.cavisNativeLib) { capabilities { //if(withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version) if (withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version) } } - api(projects.cavisNative.cavisNativeLib) { + implementation(projects.cavisNative.cavisNativeLib) { capabilities { if (withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version) //if(withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)