Merge pull request #180 from rtyler/issues/shadow-in-that-zip-179

Ensure that the shadowJar contents are being included in the artifacts
This commit is contained in:
R. Tyler Croy 2015-05-19 12:31:55 -07:00
commit 5b624a59ed
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
}
}
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////