Files
kotlin-fork/kotlin-native/performance/settings.gradle
T
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00

36 lines
1.0 KiB
Groovy

/*
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
pluginManagement {
apply from: '../../repo/scripts/cache-redirector.settings.gradle.kts'
apply from: '../../repo/scripts/kotlin-bootstrap.settings.gradle.kts'
repositories {
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-dependencies" }
mavenCentral()
gradlePluginPortal()
}
}
include ':ring'
include ':cinterop'
include ':helloworld'
include ':numerical'
include ':videoplayer'
include ':framework'
include ':startup'
if (System.getProperty("os.name") == "Mac OS X") {
include ':objcinterop'
include ':swiftinterop'
if (hasProperty("runExcludedBenchmarks")) {
include ':KotlinVsSwift'
include ':KotlinVsSwift:ring'
}
}
if (hasProperty("kotlin_dist")) {
include(":endorsedLibraries:kotlinx.cli")
project(":endorsedLibraries:kotlinx.cli").projectDir = file("../endorsedLibraries/kotlinx.cli")
}