-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
31 lines (28 loc) · 1008 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
29
30
31
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.ksp)
alias(libs.plugins.android.test) apply false
alias(libs.plugins.androidx.baselineprofile) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.detekt)
alias(libs.plugins.protobuf) apply false
alias(libs.plugins.compose.compiler) apply false
if (File("app/google-services.json").exists() && File("app/src/debug/google-services.json").exists()) {
alias(libs.plugins.google.services) apply false
alias(libs.plugins.firebase.crashlytics) apply false
}
}
dependencies {
detektPlugins(libs.detekt.formatting)
}
detekt {
autoCorrect = true
buildUponDefaultConfig = true
allRules = false
config.setFrom("$projectDir/config/detekt/detekt.yml")
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}