Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-24 14:29:10 +02:00
parent 460205101c
commit f1695eb8ae
2 changed files with 12 additions and 8 deletions

View File

@ -160,6 +160,7 @@ dependencies {
}
}
/*
publishing {
publications {
myPlatform(MavenPublication) {
@ -167,7 +168,7 @@ publishing {
}
}
}
*/
tasks.withType(GenerateModuleMetadata).configureEach {
// The value 'enforced-platform' is provided in the validation

View File

@ -24,17 +24,20 @@ dependencies {
&& !sproj.name.equals("cavis-nd4j")
&& !sproj.name.equals("cavis-ui")
&& !sproj.name.equals("cavis-zoo")) {
implementation(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)
}
}
api sproj
}
}
implementation(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)
}
}
}
/*
tasks.getByName("jar") {