Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-30 05:39:15 +01:00
parent d91d9db283
commit f4bd8c7400
1 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@ 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 api 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")
@ -100,7 +100,7 @@ shadowJar {
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { /*mavenJava(MavenPublication) {
//artifact customFatJar //artifact customFatJar
// from components.java // from components.java
/* pom.withXml { /* pom.withXml {
@ -113,8 +113,9 @@ publishing {
//dependencyNode.appendNode('classifier', 'linux-x86_64-avx2-cpu') //dependencyNode.appendNode('classifier', 'linux-x86_64-avx2-cpu')
//dependencyNode.appendNode('scope', 'compile') //dependencyNode.appendNode('scope', 'compile')
} }
*/
} }
*/
shadow(MavenPublication) { publication -> shadow(MavenPublication) { publication ->
project.shadow.component(publication) project.shadow.component(publication)
} }