From 38089f4c48e648405dd4faf19316b36d371ac729 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 11 Dec 2020 10:22:55 -0500 Subject: [PATCH] Add `plugins.gradle.org` repo to build script To avoid the `401 from server: Unauthorized` when we try to reach `https://repo.spring.io/plugins-release` it is better to point to some more central repository with no authentication requirements. Most of the Gradle plugins are managed in the `https://plugins.gradle.org/m2` repo, not Maven Central --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index c7610c55d7..a4e68fc40b 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ buildscript { ext.kotlinVersion = '1.4.20' repositories { mavenCentral() + maven { url 'https://plugins.gradle.org/m2' } maven { url 'https://repo.spring.io/plugins-release' } } dependencies {