[build] cache repository fix

This commit is contained in:
Vasily Levchenko
2021-01-13 14:38:27 +01:00
committed by Stanislav Erokhin
parent f27e3b8c26
commit bdc87edfd0
9 changed files with 61 additions and 41 deletions
@@ -1,11 +1,13 @@
import org.jetbrains.kotlin.UtilsKt
project.buildscript.repositories {
maven {
url project.bootstrapKotlinRepo
}
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
if (UtilsKt.getCacheRedirectorEnabled(project))
maven { url 'https://cache-redirector.jetbrains.com/maven-central' }
else
mavenCentral()
}
project.buildscript.dependencies {