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
This commit is contained in:
Daz DeBoer 2025-01-30 10:07:29 -07:00 committed by GitHub
commit 94baf225fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 5 deletions

View File

@ -3,6 +3,8 @@ name: CI-integ-test-full
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- 'main'
paths: paths:
- 'dist/**' - 'dist/**'

View File

@ -5,6 +5,7 @@ on:
push: push:
branches: branches:
- 'main' - 'main'
- 'prerelease/**'
- 'release/**' - 'release/**'
paths-ignore: paths-ignore:
- 'dist/**' - 'dist/**'

View File

@ -15,8 +15,8 @@ buildscript {
if (pluginRepositoryUsername && pluginRepositoryPassword) { if (pluginRepositoryUsername && pluginRepositoryPassword) {
logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}") logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
credentials { credentials {
username(pluginRepositoryUsername) username = pluginRepositoryUsername
password(pluginRepositoryPassword) password = pluginRepositoryPassword
} }
authentication { authentication {
basic(BasicAuthentication) basic(BasicAuthentication)

View File

@ -45,12 +45,12 @@ initscript {
repositories { repositories {
maven { maven {
url pluginRepositoryUrl url = pluginRepositoryUrl
if (pluginRepositoryUsername && pluginRepositoryPassword) { if (pluginRepositoryUsername && pluginRepositoryPassword) {
logger.lifecycle("Using credentials for plugin repository") logger.lifecycle("Using credentials for plugin repository")
credentials { credentials {
username(pluginRepositoryUsername) username = pluginRepositoryUsername
password(pluginRepositoryPassword) password = pluginRepositoryPassword
} }
authentication { authentication {
basic(BasicAuthentication) basic(BasicAuthentication)