Skip to content

Commit

Permalink
Update develocity-injection init script to v1.1.1 (#521)
Browse files Browse the repository at this point in the history
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection.
  • Loading branch information
bot-githubaction authored Jan 31, 2025
1 parent 96fb92e commit ce1d72c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Initscript for injection of Develocity into Gradle builds.
* Version: v1.1
* Version: v1.1.1
*/

import org.gradle.util.GradleVersion
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ce1d72c

Please sign in to comment.