Ensure that the shadowJar contents are being included in the packaged zip and tarballs

Fixes #179
This commit is contained in:
R. Tyler Croy 2015-05-19 11:35:51 -07:00
parent b2e88e3304
commit 4560afe18c
1 changed files with 10 additions and 1 deletions

View File

@ -10,10 +10,11 @@ plugins {
apply plugin: 'eclipse'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'distribution'
apply plugin: 'codenarc'
apply plugin: 'cobertura'
version = '0.3.0'
version = '0.3.1'
group = 'com.github.lookout'
description = 'DeployDB is a tool to provide a single source of truth for artifact-based deployments'
// Needed for the application plugin's `run` task
@ -156,6 +157,14 @@ shadowJar {
dependsOn check
}
assemble.dependsOn shadowJar
distributions {
main {
contents {
from shadowJar.outputs
}
}
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////