From 5e776b66ea6ffc5dc5dc360ab88ca5aefbd2a310 Mon Sep 17 00:00:00 2001 From: AJ Date: Sat, 4 Jan 2025 10:33:17 -0800 Subject: [PATCH] Release version 3.6.1 --- .github/workflows/build.yml | 6 +++--- .github/workflows/gradle-wrapper-validation.yml | 15 --------------- .github/workflows/release.yml | 4 ++-- CHANGELOG.md | 2 ++ README.md | 8 ++++---- gradle.properties | 3 ++- 6 files changed, 13 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/gradle-wrapper-validation.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26c9617b..805f5a04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: with: distribution: 'zulu' java-version: 21 - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 - run: ./gradlew ${{matrix.GRADLE_ARGS}} - name: Upload the build report if: failure() @@ -58,7 +58,7 @@ jobs: path: '**/build/reports' publish: needs: test - runs-on: macos-latest + runs-on: ubuntu-latest if: ${{ github.ref == 'refs/heads/master' && github.repository == 'ajalt/colormath' }} steps: - uses: actions/checkout@v4 @@ -66,7 +66,7 @@ jobs: with: distribution: 'zulu' java-version: 21 - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 - name: Deploy to sonatype # disable configuration cache due to https://github.com/gradle/gradle/issues/22779 run: ./gradlew publishToMavenCentral -PsnapshotVersion=true --no-configuration-cache diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml deleted file mode 100644 index 0d8f3d4d..00000000 --- a/.github/workflows/gradle-wrapper-validation.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: "Validate Gradle Wrapper" -on: - push: - paths: - - 'gradle/wrapper/**' - pull_request: - paths: - - 'gradle/wrapper/**' -jobs: - validation: - name: "Validation" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43066845..faf95f65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,14 +7,14 @@ on: jobs: release: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 21 - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 # - uses: actions/setup-python@v5 # with: # python-version: '3.12' diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a13ee15..b706c7ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## Unreleased + +## 3.6.1 ### Changed - All color class constructors are now public to avoid warning when using `copy()` ([#65](https://github.com/ajalt/colormath/issues/65)) - `HSV.toSRGB()` with NaN a hue value now returns a greyscale `RGB` color instead of a NaN color. ([#67](https://github.com/ajalt/colormath/issues/67)) diff --git a/README.md b/README.md index ce52bb26..5d82e556 100644 --- a/README.md +++ b/README.md @@ -49,16 +49,16 @@ Colormath is distributed through [Maven Central](https://search.maven.org/artifa ```groovy dependencies { - implementation("com.github.ajalt.colormath:colormath:3.6.0") + implementation("com.github.ajalt.colormath:colormath:3.6.1") // optional extensions for interop with other platforms // // android.graphics.Color - implementation("com.github.ajalt.colormath:colormath-ext-android-color:3.6.0") + implementation("com.github.ajalt.colormath:colormath-ext-android-color:3.6.1") // androidx.annotation.ColorInt - implementation("com.github.ajalt.colormath:colormath-ext-android-colorint:3.6.0") + implementation("com.github.ajalt.colormath:colormath-ext-android-colorint:3.6.1") // androidx.compose.ui.graphics.Color - implementation("com.github.ajalt.colormath:colormath-ext-jetpack-compose:3.6.0") + implementation("com.github.ajalt.colormath:colormath-ext-jetpack-compose:3.6.1") } ``` diff --git a/gradle.properties b/gradle.properties index c9d73a28..afea998b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,9 @@ -VERSION_NAME=3.6.0 +VERSION_NAME=3.6.1 kotlin.mpp.stability.nowarn=true android.useAndroidX=true org.jetbrains.compose.experimental.wasm.enabled=true +kotlin.native.enableKlibsCrossCompilation=true # https://kotlinlang.org/docs/whatsnew18.html#configuration-and-setup kotlin.mpp.androidSourceSetLayoutVersion=2