[K/N][build] Add comment, describing the copying of endorsed libs

This commit is contained in:
Pavel Punegov
2021-10-21 11:17:28 +03:00
committed by Space
parent 56d34bfd53
commit 6ccfd974fa
+3
View File
@@ -504,6 +504,9 @@ targetList.each { target ->
def endorsedLibsBuildTask = ":kotlin-native:endorsedLibraries:${target}EndorsedLibraries"
dependsOn endorsedLibsBuildTask
dependsOn endorsedLibsCopyTask
// There is only one copy task for endorsed libs, because they are already copied into a single dir,
// while having target-tasks will make Gradle issue warnings on incorrect inputs and outputs usage.
// So this copy task should run after the all build tasks.
endorsedLibsCopyTask.mustRunAfter(endorsedLibsBuildTask)
}
}