-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
28 lines (25 loc) · 893 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
28 lines (25 loc) · 893 Bytes
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
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.rust.android) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.ktlint) apply false
}
val buildToolsVersion by extra("36.0.0")
val ndkVersion by extra("29.0.14206865")
val externalBuildRoot = providers.gradleProperty("chimera.buildRoot").orNull
allprojects {
externalBuildRoot?.let { buildRoot ->
val relativeProjectPath = path
.removePrefix(":")
.replace(':', java.io.File.separatorChar)
.ifBlank { "root" }
layout.buildDirectory.set(rootProject.file(buildRoot).resolve(relativeProjectPath))
}
repositories {
google()
mavenCentral()
}
}