diff --git a/weak/build.gradle.kts b/weak/build.gradle.kts index 91fd4f7..c39b5fb 100644 --- a/weak/build.gradle.kts +++ b/weak/build.gradle.kts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2025, OpenSavvy and contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + plugins { alias(opensavvyConventions.plugins.base) alias(opensavvyConventions.plugins.kotlin.library) @@ -9,10 +25,21 @@ kotlin { browser() nodejs() } - iosSimulatorArm64() + linuxX64() + linuxArm64() + macosX64() + macosArm64() iosArm64() iosX64() - linuxX64() + iosSimulatorArm64() + watchosX64() + watchosArm32() + watchosArm64() + watchosSimulatorArm64() + tvosX64() + tvosArm64() + tvosSimulatorArm64() + mingwX64() sourceSets.jsMain.dependencies { implementation(libs.kotlinJs) -- 2.51.2 From 0a4a20851d1bf30f50e7d235978de5347ce48310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Wed, 19 Mar 2025 22:05:59 +0100 Subject: [PATCH 2/2] build(enumset): Support more Kotlin Native platforms --- enumset/build.gradle.kts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/enumset/build.gradle.kts b/enumset/build.gradle.kts index 5307714..8cea6a2 100644 --- a/enumset/build.gradle.kts +++ b/enumset/build.gradle.kts @@ -21,14 +21,25 @@ plugins { kotlin { jvm() - js(IR) { + js { browser() nodejs() } - iosSimulatorArm64() + linuxX64() + linuxArm64() + macosX64() + macosArm64() iosArm64() iosX64() - linuxX64() + iosSimulatorArm64() + watchosX64() + watchosArm32() + watchosArm64() + watchosSimulatorArm64() + tvosX64() + tvosArm64() + tvosSimulatorArm64() + mingwX64() sourceSets.commonTest.dependencies { implementation(libs.bundles.prepared)