diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff2cdd4..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 publishAndReleaseToMavenCentral --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/focus-gradle-plugin/build.gradle.kts b/focus-gradle-plugin/build.gradle.kts index e083cf2..cccc48e 100644 --- a/focus-gradle-plugin/build.gradle.kts +++ b/focus-gradle-plugin/build.gradle.kts @@ -55,7 +55,7 @@ gradlePlugin { } mavenPublishing { - publishToMavenCentral(SonatypeHost.S01) + publishToMavenCentral(SonatypeHost.S01, true) signAllPublications() } 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" }