Revert simpleOsName in HostManager
Support old naming in simpleOsName. Introduce new platformName method for the new archive naming.
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ class NativePlatformLibsIT : BaseGradleIT() {
|
||||
|
||||
private fun deleteInstalledCompilers() {
|
||||
// Clean existing installation directories.
|
||||
val osName = HostManager.simpleOsName()
|
||||
val osName = HostManager.platformName()
|
||||
val oldCompilerDir = DependencyDirectories.localKonanDir.resolve("kotlin-native-$osName-$oldCompilerVersion")
|
||||
val currentCompilerDir = DependencyDirectories.localKonanDir.resolve("kotlin-native-$osName-$currentCompilerVersion")
|
||||
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ class NativeCompilerDownloader(
|
||||
get() = NativeDistributionTypeProvider(project).getDistributionType(compilerVersion)
|
||||
|
||||
private val simpleOsName: String
|
||||
get() = HostManager.simpleOsName()
|
||||
get() = HostManager.platformName()
|
||||
|
||||
private val dependencyName: String
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user