Fix deprecation warnings in develocity init-script

This change has been made directly to the init-script, and will be superceded
by the equivalent fix in the reference script.
This commit is contained in:
daz 2025-01-30 08:47:32 -07:00
parent 79bad900c0
commit 0b492c475f
No known key found for this signature in database

View File

@ -45,12 +45,12 @@ initscript {
repositories { repositories {
maven { maven {
url pluginRepositoryUrl url = pluginRepositoryUrl
if (pluginRepositoryUsername && pluginRepositoryPassword) { if (pluginRepositoryUsername && pluginRepositoryPassword) {
logger.lifecycle("Using credentials for plugin repository") logger.lifecycle("Using credentials for plugin repository")
credentials { credentials {
username(pluginRepositoryUsername) username = pluginRepositoryUsername
password(pluginRepositoryPassword) password = pluginRepositoryPassword
} }
authentication { authentication {
basic(BasicAuthentication) basic(BasicAuthentication)