Commit 4391d91e authored by Gradl, Tobias's avatar Gradl, Tobias

Progress with debian packaging

parent 62a0826b
Pipeline #13317 passed with stage
in 3 minutes and 1 second
......@@ -14,6 +14,7 @@ plugins {
id 'war'
//id "io.spring.dependency-management" version "1.0.6.RELEASE"
id 'maven-publish'
id "org.gretty" version "3.0.1"
}
apply plugin: "nebula.deb"
......@@ -99,6 +100,29 @@ task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
}
task unpackFiles(type: Copy) {
from(components.web)
into "$buildDir/web"
}
task fooDeb(type: Deb) {
release '1'
packageName 'dariah-dme'
replaces 'dme'
maintainer 'info@de.dariah.eu'
requires('openjdk-8-jdk').or('openjdk-11-jdk')
signingKeyId('CB012F105B632B46C2A7B4918FC46DAC1BC3E238')
from("$buildDir/classes/java") {
into 'var/lib'
}
}
/*task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment