|
|
@ -342,9 +342,19 @@ applicationDistribution.into("bin") { |
|
|
|
fileMode = 0755 |
|
|
|
fileMode = 0755 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
applicationDistribution.into("") { from("LICENSE") } |
|
|
|
distributions { |
|
|
|
|
|
|
|
main { |
|
|
|
|
|
|
|
contents { |
|
|
|
|
|
|
|
from("./LICENSE") { into "." } |
|
|
|
|
|
|
|
from("build/reports/license/license-dependency.html") { into "." } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
installDist { dependsOn checkLicenses } |
|
|
|
|
|
|
|
|
|
|
|
distTar { |
|
|
|
distTar { |
|
|
|
|
|
|
|
dependsOn checkLicenses |
|
|
|
doFirst { |
|
|
|
doFirst { |
|
|
|
delete fileTree(dir: 'build/distributions', include: '*.tar.gz') |
|
|
|
delete fileTree(dir: 'build/distributions', include: '*.tar.gz') |
|
|
|
} |
|
|
|
} |
|
|
@ -353,6 +363,7 @@ distTar { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
distZip { |
|
|
|
distZip { |
|
|
|
|
|
|
|
dependsOn checkLicenses |
|
|
|
doFirst { |
|
|
|
doFirst { |
|
|
|
delete fileTree(dir: 'build/distributions', include: '*.zip') |
|
|
|
delete fileTree(dir: 'build/distributions', include: '*.zip') |
|
|
|
} |
|
|
|
} |
|
|
|