Skip to content

Commit

Permalink
Add all remaining Kotlin native targets (#125)
Browse files Browse the repository at this point in the history
Add all remaining Kotlin native targets (fixes #124)
  • Loading branch information
dhoepelman authored Jul 19, 2024
1 parent c4caf6f commit 0e2c531
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
implementation("io.konform:konform:0.6.1")
implementation("io.konform:konform:0.6.2")
}
}
}
Expand All @@ -27,7 +27,7 @@ For jvm-only projects add:

```
dependencies {
implementation("io.konform:konform-jvm:0.6.1")
implementation("io.konform:konform-jvm:0.6.2")
}
```

Expand Down
24 changes: 18 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repositories {
}

group = projectGroup
val projectVersion = System.getenv("CI_VERSION") ?: "0.6.1-SNAPSHOT"
val projectVersion = System.getenv("CI_VERSION") ?: "0.6.2-SNAPSHOT"
version = projectVersion

kotlin {
Expand All @@ -46,6 +46,12 @@ kotlin {
apiVersion = kotlinApiTarget
}
}

// start of kotlin targets
androidNativeArm32()
androidNativeArm64()
androidNativeX86()
androidNativeX64()
jvm {
testRuns["test"].executionTask.configure {
useJUnitPlatform()
Expand All @@ -61,16 +67,21 @@ kotlin {
browser {}
nodejs {}
}
linuxX64()
linuxArm64()
iosX64()
iosArm64()
macosX64()
iosSimulatorArm64()
iosX64()
linuxArm64()
linuxX64()
macosArm64()
macosX64()
mingwX64()
tvosArm64()
tvosSimulatorArm64()
tvosX64()
watchosArm32()
watchosArm64()
watchosDeviceArm64()
watchosSimulatorArm64()
watchosX64()
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
Expand All @@ -82,7 +93,8 @@ kotlin {
wasmWasi {
nodejs()
}
mingwX64()
// end of kotlin targets

sourceSets {
commonMain {
dependencies {
Expand Down

0 comments on commit 0e2c531

Please sign in to comment.