From 3442e5b016dc9061d3d9b38cb29c698360cdebc2 Mon Sep 17 00:00:00 2001 From: Mate Molnar Date: Mon, 22 Jan 2024 17:34:45 +0100 Subject: [PATCH] BUILD-4415 fix authentication for gradle plugins (cherry picked from commit b63312f68e11f58ba5cc7f31c484fbb008532ead) --- settings.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings.gradle b/settings.gradle index 6d39b61b8e4..7ebfe00dfd7 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 { -- 2.39.5