From 90d9e1ad365bcbcfe6354e269e34712354fc46c4 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 3 May 2024 12:42:32 +0100 Subject: [PATCH] Rename property to address naming clash --- .github/actions/publish-to-plugin-portal/action.yml | 2 +- .github/actions/publish-to-plugin-portal/build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/publish-to-plugin-portal/action.yml b/.github/actions/publish-to-plugin-portal/action.yml index cb361aa..6c30ace 100644 --- a/.github/actions/publish-to-plugin-portal/action.yml +++ b/.github/actions/publish-to-plugin-portal/action.yml @@ -35,4 +35,4 @@ runs: - name: Publish shell: bash working-directory: ${{ github.action_path }} - run: ${{ github.workspace }}/gradlew publishExisting -Pgradle.publish.key=${{ inputs.gradle-plugin-publish-key }} -Pgradle.publish.secret=${{ inputs.gradle-plugin-publish-secret }} -PpluginVersion=${{ inputs.plugin-version }} -PrepositoryRoot=${{ github.workspace }}/gradle-plugin-portal + run: ${{ github.workspace }}/gradlew publishExisting -Pgradle.publish.key=${{ inputs.gradle-plugin-publish-key }} -Pgradle.publish.secret=${{ inputs.gradle-plugin-publish-secret }} -PdependencyManagementPluginVersion=${{ inputs.plugin-version }} -PrepositoryRoot=${{ github.workspace }}/gradle-plugin-portal diff --git a/.github/actions/publish-to-plugin-portal/build.gradle b/.github/actions/publish-to-plugin-portal/build.gradle index abe3501..6f58675 100644 --- a/.github/actions/publish-to-plugin-portal/build.gradle +++ b/.github/actions/publish-to-plugin-portal/build.gradle @@ -5,8 +5,8 @@ plugins { tasks.register("publishExisting", com.gradle.publish.PublishExistingTask) { pluginId = "io.spring.dependency-management" fileRepositoryRoot = new File("${repositoryRoot}") - pluginVersion = "${pluginVersion}" - pluginCoordinates = "io.spring.gradle:dependency-management-plugin:${pluginVersion}" + pluginVersion = "${dependencyManagementPluginVersion}" + pluginCoordinates = "io.spring.gradle:dependency-management-plugin:${dependencyManagementPluginVersion}" displayName = "Dependency Management Plugin" pluginDescription = "A Gradle plugin that provides Maven-like dependency management functionality" website = "https://github.com/spring-gradle-plugins/dependency-management-plugin"