Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
f4bd8c7400
commit
d02c5d7862
|
@ -26,19 +26,19 @@ dependencies {
|
||||||
&& !sproj.name.equals("cavis-nd4j")
|
&& !sproj.name.equals("cavis-nd4j")
|
||||||
&& !sproj.name.equals("cavis-ui")
|
&& !sproj.name.equals("cavis-ui")
|
||||||
&& !sproj.name.equals("cavis-zoo")) {
|
&& !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(withCpu) api project(path: ":cavis-native:cavis-native-lib", configuration: "cpuSupportApiElements")
|
||||||
// if(withCuda) api project(path: ":cavis-native:cavis-native-lib", configuration: "cudaSupportApiElements")
|
// if(withCuda) api project(path: ":cavis-native:cavis-native-lib", configuration: "cudaSupportApiElements")
|
||||||
|
|
||||||
api(projects.cavisNative.cavisNativeLib) {
|
implementation(projects.cavisNative.cavisNativeLib) {
|
||||||
capabilities {
|
capabilities {
|
||||||
//if(withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
//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)
|
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 {
|
capabilities {
|
||||||
if (withCuda()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cuda-support", version: project.version)
|
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)
|
//if(withCpu()) it.requireCapability(group: "net.brutex.cavis.cavis-native", name: "cavis-native-lib-cpu-support", version: project.version)
|
||||||
|
|
Loading…
Reference in New Issue