mirror of
https://github.com/gradle/actions.git
synced 2025-08-24 02:41:29 +08:00
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.
This commit is contained in:
parent
79bad900c0
commit
0b492c475f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user