aboutsummaryrefslogtreecommitdiffstats
path: root/settings.gradle
diff options
context:
space:
mode:
authorMate Molnar <matemoln@users.noreply.github.com>2024-01-22 17:34:45 +0100
committersonartech <sonartech@sonarsource.com>2024-01-24 20:03:32 +0000
commit589bb6eebfedc7131017361eda85ecd0de4870eb (patch)
treed1cd99b5f575a02300129dca973204f1b3bb2722 /settings.gradle
parent21b9da536a96e538bb050290c8c7e0e2e991d6a3 (diff)
downloadsonarqube-589bb6eebfedc7131017361eda85ecd0de4870eb.tar.gz
sonarqube-589bb6eebfedc7131017361eda85ecd0de4870eb.zip
BUILD-4415 fix authentication for gradle plugins
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
index fea46f8a788..8d4101493af 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -2,6 +2,13 @@ pluginManagement {
repositories {
maven {
url 'https://repox.jfrog.io/repox/plugins.gradle.org/'
+ authentication {
+ header(HttpHeaderAuthentication)
+ }
+ credentials(HttpHeaderCredentials) {
+ name = "Authorization"
+ value = "Bearer $System.env.ARTIFACTORY_PRIVATE_PASSWORD"
+ }
}
}
plugins {