Skip to content

Commit 79bad90

Browse files
committed
Fix deprecation warnings in dependency-graph init-script
1 parent 65a3beb commit 79bad90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ buildscript {
1515
if (pluginRepositoryUsername && pluginRepositoryPassword) {
1616
logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
1717
credentials {
18-
username(pluginRepositoryUsername)
19-
password(pluginRepositoryPassword)
18+
username = pluginRepositoryUsername
19+
password = pluginRepositoryPassword
2020
}
2121
authentication {
2222
basic(BasicAuthentication)

0 commit comments

Comments
 (0)