blob: e7a2281e35ca85af2f03a01541e5e2d4c227fae1 [file] [log] [blame] [edit]
import org.jetbrains.kotlin.UtilsKt
project.buildscript.repositories {
maven {
url BootstrapKt.getBootstrapKotlinRepo(project)
}
if (UtilsKt.getCacheRedirectorEnabled(project))
maven { url 'https://cache-redirector.jetbrains.com/maven-central' }
else
mavenCentral()
}
project.buildscript.dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${project.bootstrapKotlinVersion}"
}
configurations {
kotlinCompilerClasspath
}
if (!(project.findProperty("withoutEmbedabble")?.toString()?.toBoolean() ?: false)) {
project.dependencies {
kotlinCompilerClasspath(project(path: ":kotlin-compiler-embeddable", configuration: "runtimeJar"))
}
}