From 78d4a65f4387638dcb2f67d5b2d28eab262f92ab Mon Sep 17 00:00:00 2001 From: Gabriel Ittner Date: Sat, 6 Jan 2024 17:41:48 +0100 Subject: [PATCH] use 0.27.0-rc2 --- .github/workflows/publish-release.yml | 2 +- .github/workflows/publish-snapshot.yml | 2 +- gradle.properties | 1 - gradle/libs.versions.toml | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 8f4a531a..3fd7baa1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -34,7 +34,7 @@ jobs: - uses: gradle/gradle-build-action@v2 - name: Publish - run: ./gradlew publish + run: ./gradlew publishAndReleaseToMavenCentral env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 594149ce..dbbf6ff8 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -32,7 +32,7 @@ jobs: - uses: gradle/gradle-build-action@v2 - name: Publish - run: ./gradlew publish + run: ./gradlew publishToMavenCentral env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/gradle.properties b/gradle.properties index 5c9c464f..95f309ea 100755 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,6 @@ org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx2g org.gradle.parallel=true SONATYPE_HOST=DEFAULT -SONATYPE_AUTOMATIC_RELEASE=true RELEASE_SIGNING_ENABLED=true GROUP=com.vanniktech diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4fd6172f..6adcdc9c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ moshi = "1.15.0" retrofit = "2.9.0" junit = "5.10.1" truth = "1.2.0" -maven-publish = "0.26.0" +maven-publish = "0.27.0-rc1" ktlint = "12.0.3" [libraries]