[K/N][build] Fix distPlatformLibs Gradle task dependencies on Windows
K/N distPlatformLibs Gradle task dependended on hostInstall and
hostCache. The latter doesn't work (= has incorrect dependencies) on
hosts that don't support compiler caches for the host target (i.e.
Windows).
As a result, running distPlatformLibs task on Windows didn't work,
causing local test runs to fail.
This commit fixes the problem by making distPlatformLibs depend on
`"${hostName}PlatformLibs` instead, so it does the same as before but
handles the non-caching hosts correctly.
This commit is contained in:
committed by
Space Team
parent
75eeb5291d
commit
e002f07ff5
@@ -387,8 +387,7 @@ targetList.each { target ->
|
||||
}
|
||||
|
||||
tasks.register("distPlatformLibs") {
|
||||
dependsOn ':kotlin-native:platformLibs:hostInstall'
|
||||
dependsOn ':kotlin-native:platformLibs:hostCache'
|
||||
dependsOn("${hostName}PlatformLibs")
|
||||
}
|
||||
|
||||
tasks.register("dist") {
|
||||
|
||||
Reference in New Issue
Block a user