Unverified Commit 94baf225 authored by Daz DeBoer's avatar Daz DeBoer Committed by GitHub
Browse files

Fix space assignment deprecations in init-scripts (#542)

Fixes the Groovy syntax in 2 init-scripts to avoid deprecation warnings.
The fix to the DV injection script is temporary, and will be replaced by
a fix in the upstream reference script.

Fixes #541 
parents 986922f6 6f10c21e
Loading
Loading
Loading
Loading
+2
Changes for .github/workflows/ci-integ-test-full.yml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@ name: CI-integ-test-full
on:
  workflow_dispatch:
  push:
    branches:
    - 'main'
    paths:
    - 'dist/**'

+1
Changes for .github/workflows/ci-update-dist.yml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ on:
  push:
    branches: 
    - 'main'
    - 'prerelease/**'
    - 'release/**'
    paths-ignore:
    - 'dist/**'
+2 −2
Changes for sources/src/resources/init-scripts/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ buildscript {
      if (pluginRepositoryUsername && pluginRepositoryPassword) {
        logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
        credentials {
          username(pluginRepositoryUsername)
          password(pluginRepositoryPassword)
          username = pluginRepositoryUsername
          password = pluginRepositoryPassword
        }
        authentication {
          basic(BasicAuthentication)
+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)