Skip to content

Commit

Permalink
Update develocity-injection init script to v1.1.1 (#73)
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 be468b7 commit 938cd58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions develocity-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
cat > $initScript <<'EOF'
/*
* Initscript for injection of Develocity into Gradle builds.
* Version: v1.1
* Version: v1.1.1
*/
import org.gradle.util.GradleVersion
Expand Down Expand Up @@ -89,12 +89,12 @@ spec:
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
8 changes: 4 additions & 4 deletions src/gradle/init-scripts/develocity-injection.init.gradle
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 938cd58

Please sign in to comment.