From 79bad900c08bc46eaf2277d99d548b968994ebbe Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 30 Jan 2025 08:46:34 -0700 Subject: [PATCH] Fix deprecation warnings in dependency-graph init-script --- ...actions.github-dependency-graph-gradle-plugin-apply.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy b/sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy index f9ea6423..37a3df47 100644 --- a/sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy +++ b/sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy @@ -15,8 +15,8 @@ buildscript { if (pluginRepositoryUsername && pluginRepositoryPassword) { logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}") credentials { - username(pluginRepositoryUsername) - password(pluginRepositoryPassword) + username = pluginRepositoryUsername + password = pluginRepositoryPassword } authentication { basic(BasicAuthentication)