Skip to content

Commit

Permalink
Release version 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jan 4, 2025
1 parent 44c2008 commit 5e776b6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -58,15 +58,15 @@ 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
- uses: actions/setup-java@v4
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
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5e776b6

Please # to comment.