Skip to content

Commit

Permalink
Add JS and wasm targets for compose extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Feb 28, 2024
1 parent 2e0537d commit ee013e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## Unreleased
### Added
- Publish artifacts for the `JS` and `wasmJs` targets for the jetpack-compose extensions.

## 3.4.0
### Added
- Publish artifacts for the `wasmJs` target. This target is experimental and not tested on CI.
- Publish artifacts for the `wasmJs` target. This target is experimental.

## 3.3.3
### Changed
Expand Down
5 changes: 5 additions & 0 deletions extensions/colormath-ext-jetpack-compose/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.vanniktech.maven.publish.tasks.JavadocJar
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
id("com.android.library")
Expand All @@ -17,6 +18,10 @@ kotlin {
}

jvm()
js { nodejs() }

@OptIn(ExperimentalWasmDsl::class)
wasmJs { nodejs() }

iosX64()
iosArm64()
Expand Down
9 changes: 1 addition & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "1.9.21"
compose = "1.6.0-beta01"
compose = "1.6.0"

[libraries]

Expand All @@ -13,13 +13,6 @@ kotest = "io.kotest:kotest-assertions-core:5.8.0"
junit = "junit:junit:4.13.2"
robolectric = "org.robolectric:robolectric:4.10"

# used in samples
compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose" }
compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }

[plugins]
dokka = "org.jetbrains.dokka:1.9.10"
publish = "com.vanniktech.maven.publish:0.25.3"
Expand Down

0 comments on commit ee013e8

Please sign in to comment.