diff --git a/README.md b/README.md index 52ffcd5..a74e608 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ ![Android](https://img.shields.io/badge/-Android-gray.svg?style=flat) ![macOS](https://img.shields.io/badge/-macOS-gray.svg?style=flat) ![iOS](https://img.shields.io/badge/-iOS-gray.svg?style=flat) +![Windows](https://img.shields.io/badge/-Windows-gray.svg?style=flat) +![WASM](https://img.shields.io/badge/-WASM-gray.svg?style=flat) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=xmpcore&metric=coverage)](https://sonarcloud.io/summary/new_code?id=xmpcore) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.ashampoo/xmpcore/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.ashampoo/xmpcore) @@ -15,7 +17,7 @@ It's part of [Ashampoo Photos](https://ashampoo.com/photos). ## Installation ``` -implementation("com.ashampoo:xmpcore:0.2.4") +implementation("com.ashampoo:xmpcore:0.3") ``` ## How to use diff --git a/build.gradle.kts b/build.gradle.kts index d2de09c..7e7b9d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,6 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework +import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") version "1.9.21" @@ -22,7 +23,7 @@ repositories { val productName = "Ashampoo XMP Core" -val xmlUtilVersion: String = "0.86.2" +val xmlUtilVersion: String = "0.86.3" description = productName group = "com.ashampoo" @@ -133,6 +134,12 @@ kotlin { } } + @OptIn(ExperimentalWasmDsl::class) + wasmJs() + + @OptIn(ExperimentalWasmDsl::class) + wasmWasi() + @Suppress("UnusedPrivateMember") // False positive val commonMain by sourceSets.getting {