[K/N][build] Add comment, describing the copying of endorsed libs
This commit is contained in:
@@ -504,6 +504,9 @@ targetList.each { target ->
|
|||||||
def endorsedLibsBuildTask = ":kotlin-native:endorsedLibraries:${target}EndorsedLibraries"
|
def endorsedLibsBuildTask = ":kotlin-native:endorsedLibraries:${target}EndorsedLibraries"
|
||||||
dependsOn endorsedLibsBuildTask
|
dependsOn endorsedLibsBuildTask
|
||||||
dependsOn endorsedLibsCopyTask
|
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)
|
endorsedLibsCopyTask.mustRunAfter(endorsedLibsBuildTask)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user