From: Mate Molnar Date: Mon, 22 Jan 2024 16:34:45 +0000 (+0100) Subject: BUILD-4415 fix authentication for gradle plugins X-Git-Tag: 10.4.0.87286~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=589bb6eebfedc7131017361eda85ecd0de4870eb;p=sonarqube.git BUILD-4415 fix authentication for gradle plugins --- 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 {