Build: Add task to build zip of license tools
This roughly matches what was done in 2.x for the license tools (except without any dependency exclusions). Original commit: elastic/x-pack-elasticsearch@4e1f07b5fa
This commit is contained in:
parent
8e3640e77f
commit
7aa557d8f0
|
@ -11,3 +11,15 @@ project.forbiddenPatterns {
|
|||
}
|
||||
|
||||
dependencyLicenses.enabled = false
|
||||
|
||||
task buildZip(type: Zip, dependsOn: jar) {
|
||||
into('lib') {
|
||||
from jar
|
||||
from configurations.runtime
|
||||
}
|
||||
into('bin') {
|
||||
from 'bin'
|
||||
}
|
||||
}
|
||||
|
||||
assemble.dependsOn buildZip
|
||||
|
|
Loading…
Reference in New Issue