From fcf3e3dd0a46d1aa1bf83cbc587d6567f8edd6af Mon Sep 17 00:00:00 2001 From: Deftu Date: Tue, 12 Nov 2024 06:01:23 +0200 Subject: [PATCH] Fix issue in settings.gradle.kts configuration --- settings.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 766c132..3f45d7a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -22,11 +22,11 @@ rootProject.name = extra["project.name"]?.toString() ?: throw MissingPropertyExc include("rust") -val osName = OperatingSystem.current().familyName.lowercase() +val osName = OperatingSystem.current().familyName.lowercase().replace(" ", "-") mapOf( "windows" to listOf("x64", "x86"), "linux" to listOf("x64", "x86", "arm", "arm64"), - "os x" to listOf("x64", "arm64") + "os-x" to listOf("x64", "arm64") )[osName]?.forEach { arch -> val target = "$osName-$arch"