Unverified Commit 0b492c47 authored by daz's avatar daz
Browse files

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.
parent 79bad900
Loading
Loading
Loading
Loading
+3 −3
Changes for sources/src/resources/init-scripts/gradle-actions.inject-develocity.init.gradle: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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)