[package] bundle and samples archives should have licenses. (#2798)
This commit is contained in:
committed by
Nikolay Igotti
parent
9285699cd5
commit
9ec9681691
@@ -423,6 +423,10 @@ task bundle(type: (isWindows()) ? Zip : Tar) {
|
||||
include 'RELEASE_NOTES.md'
|
||||
into baseName
|
||||
}
|
||||
from(project.rootDir) {
|
||||
include 'licenses/**'
|
||||
into baseName
|
||||
}
|
||||
|
||||
destinationDir = file('.')
|
||||
|
||||
@@ -475,6 +479,10 @@ configure([samplesZip, samplesTar]) {
|
||||
exclude '**/gradle.properties'
|
||||
}
|
||||
|
||||
from(project.rootDir) {
|
||||
include 'licenses/**'
|
||||
}
|
||||
|
||||
from(file('samples')) {
|
||||
include '**/gradle.properties'
|
||||
filter {
|
||||
|
||||
Reference in New Issue
Block a user