Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
f1695eb8ae
commit
1e681e7c05
|
@ -4,6 +4,8 @@ plugins {
|
|||
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
||||
}
|
||||
|
||||
apply from: rootProject.projectDir.path+"/chooseBackend.gradle"
|
||||
|
||||
dependencies {
|
||||
//Todo clean this
|
||||
api platform(project(":cavis-common-platform"))
|
||||
|
@ -28,10 +30,10 @@ dependencies {
|
|||
}
|
||||
}
|
||||
|
||||
implementation(projects.cavisNative.cavisNativeLib) {
|
||||
api(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)
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,6 +73,7 @@ artifacts {
|
|||
*/
|
||||
|
||||
shadowJar {
|
||||
enabled false;
|
||||
zip64 true //need this to support jars with more than 65535 entries
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue