Skip to content

Commit

Permalink
Add support for -okio variant
Browse files Browse the repository at this point in the history
  • Loading branch information
burnoo committed Sep 4, 2024
1 parent fdb3402 commit 1545f98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ jobs:
run: ./gradlew publishAllPublicationsToSonatypeSnapshotRepository -Pvariant=korlibs
- name: Publish ktor2 variant to Sonatype Snapshot repository
run: ./gradlew publishAllPublicationsToSonatypeSnapshotRepository -Pvariant=ktor2
- name: Publish okio variant to Sonatype Snapshot repository
run: ./gradlew publishAllPublicationsToSonatypeSnapshotRepository -Pvariant=okio
2 changes: 1 addition & 1 deletion kspoon/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ kotlin {
browser()
nodejs()
}
if (currentVariant.type != Variant.Type.Ktor2) {
if (currentVariant.type !in setOf(Variant.Type.Ktor2, Variant.Type.Okio)) {
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
browser()
Expand Down

0 comments on commit 1545f98

Please sign in to comment.