Native: fix packing licenses into the bundle
The source directory became wrong after merging the kotlin-native/ into kotlin.
This commit is contained in:
committed by
Space
parent
3d7ac9037a
commit
0a6c4c985c
@@ -536,7 +536,7 @@ task bundleRegular(type: (isWindows()) ? Zip : Tar) {
|
||||
exclude 'klib/cache/*/org.jetbrains.kotlin.native.platform.*/**'
|
||||
into archiveBaseName
|
||||
}
|
||||
from(project.rootDir) {
|
||||
from(project.projectDir) {
|
||||
include 'licenses/**'
|
||||
exclude '**/xcode_license.pdf'
|
||||
into archiveBaseName
|
||||
@@ -553,7 +553,7 @@ task bundlePrebuilt(type: (isWindows()) ? Zip : Tar) {
|
||||
exclude 'klib/testLibrary'
|
||||
into archiveBaseName
|
||||
}
|
||||
from(project.rootDir) {
|
||||
from(project.projectDir) {
|
||||
include 'licenses/**'
|
||||
into archiveBaseName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user