Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
460205101c
commit
f1695eb8ae
|
@ -160,6 +160,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
myPlatform(MavenPublication) {
|
myPlatform(MavenPublication) {
|
||||||
|
@ -167,7 +168,7 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
tasks.withType(GenerateModuleMetadata).configureEach {
|
tasks.withType(GenerateModuleMetadata).configureEach {
|
||||||
// The value 'enforced-platform' is provided in the validation
|
// The value 'enforced-platform' is provided in the validation
|
||||||
|
|
|
@ -24,17 +24,20 @@ 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 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)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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") {
|
tasks.getByName("jar") {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue