From ee9f9601aeface5a8238033b50296f83e58c554d Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 11 Jan 2024 14:44:36 -0700 Subject: [PATCH] Use v1.1.0 of plugin from staging --- ...action.github-dependency-graph-gradle-plugin-apply.groovy | 4 ++-- .../gradle-build-action.github-dependency-graph.init.gradle | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/resources/init-scripts/gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy b/src/resources/init-scripts/gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy index 5375cedf..c58de0f2 100644 --- a/src/resources/init-scripts/gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy +++ b/src/resources/init-scripts/gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy @@ -3,13 +3,13 @@ buildscript { def envVarName = name.toUpperCase().replace('.', '_').replace('-', '_') return System.getProperty(name) ?: System.getenv(envVarName) } - def pluginRepositoryUrl = getInputParam('gradle.plugin-repository.url') ?: 'https://plugins.gradle.org/m2' + def pluginRepositoryUrl = getInputParam('gradle.plugin-repository.url') ?: 'https://plugins.grdev.net/m2' repositories { maven { url pluginRepositoryUrl } } dependencies { - classpath "org.gradle:github-dependency-graph-gradle-plugin:1.0.0" + classpath "org.gradle:github-dependency-graph-gradle-plugin:1.1.0" } } apply plugin: org.gradle.github.GitHubDependencyGraphPlugin diff --git a/src/resources/init-scripts/gradle-build-action.github-dependency-graph.init.gradle b/src/resources/init-scripts/gradle-build-action.github-dependency-graph.init.gradle index 2abdac78..56fd2627 100644 --- a/src/resources/init-scripts/gradle-build-action.github-dependency-graph.init.gradle +++ b/src/resources/init-scripts/gradle-build-action.github-dependency-graph.init.gradle @@ -22,11 +22,6 @@ if (isTopLevelBuild) { return } - def githubOutput = System.getenv("GITHUB_OUTPUT") - if (githubOutput) { - new File(githubOutput) << "dependency-graph-file=${reportFile.absolutePath}\n" - } - println "Generating dependency graph into '${reportFile}'" }