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 {
maven {
url pluginRepositoryUrl
url = pluginRepositoryUrl
if (pluginRepositoryUsername && pluginRepositoryPassword) {
logger.lifecycle("Using credentials for plugin repository")
credentials {
username(pluginRepositoryUsername)
password(pluginRepositoryPassword)
username = pluginRepositoryUsername
password = pluginRepositoryPassword
}
authentication {
basic(BasicAuthentication)