f91d6958a8
#KTI-559
26 lines
681 B
Groovy
26 lines
681 B
Groovy
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(":kotlin-compiler-embeddable"))
|
|
}
|
|
}
|