mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Fix deprecation warnings in dependency-graph init-script
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user