[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'
|
include 'RELEASE_NOTES.md'
|
||||||
into baseName
|
into baseName
|
||||||
}
|
}
|
||||||
|
from(project.rootDir) {
|
||||||
|
include 'licenses/**'
|
||||||
|
into baseName
|
||||||
|
}
|
||||||
|
|
||||||
destinationDir = file('.')
|
destinationDir = file('.')
|
||||||
|
|
||||||
@@ -475,6 +479,10 @@ configure([samplesZip, samplesTar]) {
|
|||||||
exclude '**/gradle.properties'
|
exclude '**/gradle.properties'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
from(project.rootDir) {
|
||||||
|
include 'licenses/**'
|
||||||
|
}
|
||||||
|
|
||||||
from(file('samples')) {
|
from(file('samples')) {
|
||||||
include '**/gradle.properties'
|
include '**/gradle.properties'
|
||||||
filter {
|
filter {
|
||||||
|
|||||||
Reference in New Issue
Block a user