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
This commit is contained in:
Artem Bilan
2020-12-11 10:22:55 -05:00
parent 3bf4fd687d
commit 38089f4c48

View File

@@ -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 {