395e3e0f81
Adds convention plugin instead of sources inclusion inside the buildSrc, effectively reducing the amount of the code to be compiled in buildSrc. Merge-request: KT-MR-8898
29 lines
822 B
Kotlin
29 lines
822 B
Kotlin
rootProject.name = "build-tools"
|
|
|
|
pluginManagement {
|
|
apply(from = "../../repo/scripts/cache-redirector.settings.gradle.kts")
|
|
apply(from = "../../repo/scripts/kotlin-bootstrap.settings.gradle.kts")
|
|
repositories {
|
|
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-dependencies")
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("jvm-toolchain-provisioning")
|
|
id("build-cache")
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-dependencies")
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
val buildGradlePluginVersion = extra["kotlin.build.gradlePlugin.version"]
|
|
dependencies {
|
|
classpath("org.jetbrains.kotlin:kotlin-build-gradle-plugin:$buildGradlePluginVersion")
|
|
}
|
|
} |