From 1e71bceb3f65a4c7bab58c5fad4651fa434e9f8b Mon Sep 17 00:00:00 2001 From: daz Date: Fri, 7 Jul 2023 16:01:54 -0600 Subject: [PATCH] Supply plugin portal URL directly The 'gradlePluginPortal()' convenience isn't supported in older Gradle versions. --- .../github-dependency-graph-gradle-plugin-apply.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy b/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy index 17ee5fb..4a03440 100644 --- a/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy +++ b/src/resources/init-scripts/github-dependency-graph-gradle-plugin-apply.groovy @@ -1,6 +1,6 @@ buildscript { repositories { - gradlePluginPortal() + maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "org.gradle:github-dependency-graph-gradle-plugin:0.0.3"