diff options
author | Mate Molnar <matemoln@users.noreply.github.com> | 2024-01-22 17:34:45 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-24 20:03:32 +0000 |
commit | 589bb6eebfedc7131017361eda85ecd0de4870eb (patch) | |
tree | d1cd99b5f575a02300129dca973204f1b3bb2722 /settings.gradle | |
parent | 21b9da536a96e538bb050290c8c7e0e2e991d6a3 (diff) | |
download | sonarqube-589bb6eebfedc7131017361eda85ecd0de4870eb.tar.gz sonarqube-589bb6eebfedc7131017361eda85ecd0de4870eb.zip |
BUILD-4415 fix authentication for gradle plugins
Diffstat (limited to 'settings.gradle')
-rw-r--r-- | settings.gradle | 7 |
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 { |