Skip to content

Commit

Permalink
update kotlin and add wasm build targets now that kotlinx.serializati…
Browse files Browse the repository at this point in the history
…on supports it
  • Loading branch information
jillesvangurp committed May 15, 2024
1 parent 2fa729c commit 9bebd64
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ I initially used Java for this and over time added several implementations of co

[![](https://jitpack.io/v/jillesvangurp/geogeometry.svg)](https://jitpack.io/#jillesvangurp/geogeometry)

This is a Kotlin multi-platform distribution with packages for `-jvm` and `-js` (currently) and several other platforms. Currently,
multi-platform and multi-module does not work with `jitpack.io`. You can get this library via them but if that doesn't work,
you can also try to pull from my website as described below. There's an [open bug for this](https://github.com/jitpack/jitpack.io/issues/3853).
This is a Kotlin multi-platform distribution supporting all major compilation targets for Kotlin, including jvm, js, wasm, ios, linux, mac, windows, etc.

As a workaround, I currently distribute jars via [our own maven repo](https://maven.tryformation.com/releases):
We use our own maven repo for distributing this: Add the repository:

```kotlin
repositories {
Expand All @@ -23,7 +21,7 @@ repositories {
}
```

and then add the dependency :
and then add the dependency:

```kotlin
implementation("com.github.jillesvangurp:geogeometry:<VERSION>")
Expand Down
8 changes: 6 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@file:OptIn(ExperimentalWasmDsl::class)

import org.jetbrains.kotlin.gradle.dsl.jvm.JvmTargetValidationMode
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile

plugins {
Expand Down Expand Up @@ -36,8 +39,9 @@ kotlin {
// }
iosArm64()
iosX64()
// no kotlinx serialization for wasm yet
// wasmJs()
wasmJs()
// no kotest support yet for this
// wasmWasi()

sourceSets {

Expand Down
8 changes: 6 additions & 2 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@
#### suppress inspection "UnusedProperty" for whole file

version.junit.jupiter=5.10.2
## # available=5.11.0-M1

version.kotest=5.8.1
version.kotest=5.9.0

version.kotlin=1.9.23
version.kotlin=1.9.24
## # available=2.0.0-Beta1
## # available=2.0.0-Beta2
## # available=2.0.0-Beta3
## # available=2.0.0-Beta4
## # available=2.0.0-Beta5
## # available=2.0.0-RC1
## # available=2.0.0-RC2
## # available=2.0.0-RC3

version.kotlinx.serialization=1.6.3

0 comments on commit 9bebd64

Please sign in to comment.