Fix output path for :kotlin-native:distEndorsedSources
This commit is contained in:
committed by
Space
parent
1076654bd9
commit
09c8ca860a
@@ -83,7 +83,7 @@ targetList.each { target ->
|
|||||||
|
|
||||||
endorsedLibrariesList.each { library ->
|
endorsedLibrariesList.each { library ->
|
||||||
task("${library.taskName}CommonSources", type: Zip) {
|
task("${library.taskName}CommonSources", type: Zip) {
|
||||||
destinationDirectory = file("${UtilsKt.getKotlinNativeDist(project)}/dist/sources")
|
destinationDirectory = file("${UtilsKt.getKotlinNativeDist(project)}/sources")
|
||||||
archiveFileName = "${library.name}-common-sources.zip"
|
archiveFileName = "${library.name}-common-sources.zip"
|
||||||
|
|
||||||
includeEmptyDirs = false
|
includeEmptyDirs = false
|
||||||
@@ -92,7 +92,7 @@ endorsedLibrariesList.each { library ->
|
|||||||
from(library.project.file('src/main/kotlin'))
|
from(library.project.file('src/main/kotlin'))
|
||||||
}
|
}
|
||||||
task("${library.taskName}NativeSources", type: Zip) {
|
task("${library.taskName}NativeSources", type: Zip) {
|
||||||
destinationDirectory = file("${UtilsKt.getKotlinNativeDist(project)}/dist/sources")
|
destinationDirectory = file("${UtilsKt.getKotlinNativeDist(project)}/sources")
|
||||||
archiveFileName = "${library.name}-native-sources.zip"
|
archiveFileName = "${library.name}-native-sources.zip"
|
||||||
|
|
||||||
includeEmptyDirs = false
|
includeEmptyDirs = false
|
||||||
|
|||||||
Reference in New Issue
Block a user