Skip to content

Commit

Permalink
Merge pull request #4 from voize-gmbh/wasm
Browse files Browse the repository at this point in the history
Add wasmJs target
  • Loading branch information
Legion2 authored Dec 10, 2024
2 parents fb9a762 + 8f0ed2f commit a540bb3
Show file tree
Hide file tree
Showing 4 changed files with 2,002 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## unreleased

- Add wasmJs target

## 4.2.1

- Add workaround for publishing issue
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This library is a fork of [semver4j](https://github.com/vdurmont/semver4j) compl
Supported Kotlin Multiplatform targets:
* jvm
* ios
* wasmJs
* (Additional targets can be added as needed)

## Installation
Expand Down
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ kotlin {
}
}
}
wasmJs {
browser()
}

sourceSets {
commonMain.configure {
Expand All @@ -32,7 +35,7 @@ kotlin {
}
jvmTest.configure {
dependencies {
implementation("io.mockk:mockk:1.13.8")
implementation("io.mockk:mockk:1.13.9")
implementation("junit:junit:4.13.2")
}
}
Expand Down
Loading

0 comments on commit a540bb3

Please sign in to comment.