-
Notifications
You must be signed in to change notification settings - Fork 41
/
settings.gradle.kts
43 lines (37 loc) · 1.33 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pluginManagement {
repositories {
gradlePluginPortal()
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
if (kotlinRepoUrl != null) {
maven(kotlinRepoUrl)
}
}
}
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
listOf(
"kotlin" to "kotlin_version",
"minSupportedGradle" to "min_supported_gradle_version",
).forEach { (versionName, propertyName) ->
val overrideVersion = providers.gradleProperty(propertyName).orNull
if (!overrideVersion.isNullOrBlank()) {
// Override the default version.
// The only intended use-case is for testing dev Kotlin builds using kotlinx-benchmark.
// These versions should not be overridden during regular development.
version(versionName, overrideVersion)
}
}
}
}
}
rootProject.name = "kotlinx-benchmark"
includeBuild("plugin")
include(":runtime")
project(":runtime").name = "kotlinx-benchmark-runtime"
include(":integration")
include(":examples")
include(":examples:kotlin-multiplatform")
include(":examples:java")
include(":examples:kotlin-jvm-separate-benchmark-source-set")
include(":examples:kotlin-jvm")