-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
28 lines (25 loc) · 986 Bytes
/
build.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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
// because those are defined in header.gradle.kts :(
// alias(libs.plugins.android.application) apply false
// alias(libs.plugins.kotlin.android).apply(false)
// alias(libs.plugins.jetbrains.kotlin.android) apply false
// alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.jetbrains.kotlin.serialization) apply false
alias(libs.plugins.com.google.gms.google.services) apply false
alias(libs.plugins.com.google.devtools.ksp) apply false
alias(libs.plugins.compose.compiler) apply false
}
plugins.apply("plugin.header")
plugins.apply("plugin.common")
plugins.apply("plugin.detekt")
plugins.apply("plugin.kotlin")
subprojects {
beforeEvaluate {
if (name in listOf("ext", "test", "feat", "lib")) return@beforeEvaluate
plugins.apply("plugin.jacoco")
}
}
allprojects {
plugins.apply("plugin.ktlint")
}