[build] cache repository fix
This commit is contained in:
committed by
Stanislav Erokhin
parent
f27e3b8c26
commit
bdc87edfd0
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user