diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 07261bc..4cfc9ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,11 +18,8 @@ jobs: - uses: gradle/gradle-build-action@v2 with: arguments: | - :test:jsNodeTest - :test:jvmTest - :test:linuxX64Test + :test:check :colormath:compileKotlinLinuxArm64 - :colormath:compileKotlinWasmJs :extensions:colormath-ext-jetpack-compose:check :extensions:colormath-ext-android-colorint:check :extensions:colormath-ext-android-color:check diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b39ca..3fb15de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/extensions/colormath-ext-jetpack-compose/build.gradle.kts b/extensions/colormath-ext-jetpack-compose/build.gradle.kts index bd68d66..ae94f06 100644 --- a/extensions/colormath-ext-jetpack-compose/build.gradle.kts +++ b/extensions/colormath-ext-jetpack-compose/build.gradle.kts @@ -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") @@ -17,6 +18,10 @@ kotlin { } jvm() + js { nodejs() } + + @OptIn(ExperimentalWasmDsl::class) + wasmJs { nodejs() } iosX64() iosArm64() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a05d291..1a6a82b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] kotlin = "1.9.21" -compose = "1.6.0-beta01" +compose = "1.6.0" [libraries] diff --git a/test/build.gradle.kts b/test/build.gradle.kts index f34d94e..aaab447 100644 --- a/test/build.gradle.kts +++ b/test/build.gradle.kts @@ -13,6 +13,9 @@ kotlin { jvm() js { nodejs() } + @OptIn(ExperimentalWasmDsl::class) + wasmJs { nodejs() } + linuxX64() linuxArm64() mingwX64()