mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
28 lines
849 B
Groovy
28 lines
849 B
Groovy
pluginManagement {
|
|
repositories {
|
|
if (cacheRedirectorEnabled == 'true') {
|
|
logger.info("Using cache redirector for settings.gradle pluginManagement")
|
|
maven {
|
|
url "https://cache-redirector.jetbrains.com/plugins.gradle.org/m2"
|
|
}
|
|
} else {
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
if (cacheRedirectorEnabled == 'true') {
|
|
maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-dependencies" }
|
|
} else {
|
|
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-dependencies" }
|
|
}
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-build-gradle-plugin:0.0.30")
|
|
}
|
|
}
|
|
|
|
include "prepare-deps" |