diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 7009b9e..1b28ef3 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -4,8 +4,8 @@ jobs: pr-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4.0.0 with: distribution: temurin java-version: 17 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..4537723 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,33 @@ +name: publish + +on: + push: + tags: + - '**' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4.0.0 + with: + distribution: temurin + java-version: 17 + + - name: Build and publish artifacts + env: + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ARTIFACT_SIGNING_KEY_ID }} + ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ARTIFACT_SIGNING_KEY_PASSWORD }} + run: ./gradlew publish + + - name: Extract release notes + id: release_notes + uses: ffurrer2/extract-release-notes@v1 + + - name: Create release + uses: ncipollo/release-action@v1 + with: + body: ${{ steps.release_notes.outputs.release_notes }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ec40768 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Change Log + +## [Unreleased] + +## [1.0.0] - 2024-01-11 + +### Changed +- Build with Kotlin 1.9.20 and compose 1.5.4. +- Removed some APIs deprecated in 0.1.x + +[Unreleased]: https://github.com/cashapp/turbine/compare/1.0.0...HEAD +[1.0.0]: https://github.com/husseinala/neon/releases/tag/1.0.0 \ No newline at end of file diff --git a/buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt b/buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt index d3abedd..7dc4377 100644 --- a/buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt +++ b/buildSrc/src/main/java/com/husseinala/neon/Dependencies.kt @@ -52,7 +52,7 @@ object Deps { const val TRANSFORMATIONS = "jp.wasabeef:picasso-transformations:2.4.0" } - const val MAVEN_PUBLISH = "com.vanniktech:gradle-maven-publish-plugin:0.13.0" + const val MAVEN_PUBLISH = "com.vanniktech:gradle-maven-publish-plugin:0.27.0" const val GLIDE = "com.github.bumptech.glide:glide:4.12.0" } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index dabb305..3c8091f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ kotlin.code.style=official # Maven GROUP=com.husseinala.neon -VERSION_NAME=0.1.6 +VERSION_NAME=1.0.0 POM_DESCRIPTION=Jetpack Compose library that provides Compose support for different image loading libraries. POM_INCEPTION_YEAR=2020