diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 0cd72b3..8494ec4 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -34,8 +34,7 @@ jobs: env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} - run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace - + run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel - name: Stop Gradle run: ./gradlew --stop diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 92a7da0..8743def 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,7 +36,7 @@ jobs: ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }} ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }} - run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace + run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel - name: Github release env: diff --git a/README.md b/README.md index 73c45ec..17dae3b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Compose Calendar is a composable handling all complexity of rendering calendar component and date selection. Due to flexibility provided by slot API's, you can decide how the calendar will look like, the library will handle proper calendar elements arrangement and it's state. -![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/check.yml/badge.svg?branch=main) +![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/publish-snapshot.yml/badge.svg?branch=main) [](https://search.maven.org/search?q=g:io.github.boguszpawlowski.composecalendar) [](https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/boguszpawlowski/composecalendar/) [](https://androidweekly.net/issues/issue-501/) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 3b8260b..414040a 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,7 +1,7 @@ @file:Suppress("ObjectPropertyNaming", "ClassNaming", "UnderscoresInNumericLiterals") object MavenPublish { const val PluginId = "com.vanniktech.maven.publish" - const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.25.2" + const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.27.0" } object AndroidSdk {