From 9978e2b3ea96bd4e79c9cebccf15cca668821782 Mon Sep 17 00:00:00 2001 From: Ryan Harter Date: Mon, 16 Sep 2024 14:49:09 -0500 Subject: [PATCH] Updates release task to use publish task --- .github/workflows/publish.yml | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b566be9..f6a850b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,7 +57,7 @@ jobs: uses: gradle/actions/setup-gradle@v4 - name: Publish release - run: ./gradlew -p focus-gradle-plugin clean publishToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace + run: ./gradlew -p focus-gradle-plugin clean publish --no-daemon --no-parallel --no-configuration-cache --stacktrace env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 01ab462..eccd9df 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,6 +10,6 @@ kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version. [plugins] dokka = { id = "org.jetbrains.dokka", version.ref = "kotlin" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } -mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.28.0" } +mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.29.0" } binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.14.0" }