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:
commit
5b624a59ed
11
build.gradle
11
build.gradle
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue