Only include the jars of the actual version in distirbutionZip

in order to avoid that other artifactss from previous builds slip in
the distribution zip.
This commit is contained in:
Florian Schmaus 2014-06-27 12:22:45 +02:00
parent 1fb8a50b79
commit 08a232bff3
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ subprojects {
rootProject.distributionZip { rootProject.distributionZip {
dependsOn build dependsOn build
from(buildDir) { from(buildDir) {
include "$libsDirName/**" include "$libsDirName/*${version}.jar"
include "$libsDirName/*${version}-javadoc.jar"
include "$libsDirName/*${version}-sources.jar"
} }
} }
signing { signing {