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-30 15:02:01 +0000
commit2363a21d5a76792a855290903f21ebb0cb48f679 (patch)
tree2da425d38463d521abcc35963e29886c51935163 /settings.gradle
parentc35515b3d5b8017930af3ebcc970b643c175d31d (diff)
downloadsonarqube-2363a21d5a76792a855290903f21ebb0cb48f679.tar.gz
sonarqube-2363a21d5a76792a855290903f21ebb0cb48f679.zip
BUILD-4415 fix authentication for gradle plugins
(cherry picked from commit b63312f68e11f58ba5cc7f31c484fbb008532ead)
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 6980a920f6c..1c1fa09fb5e 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 {