-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
executable file
·41 lines (35 loc) · 1.07 KB
/
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
32
33
34
35
36
37
38
39
40
41
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.jetbrains.kotlin.android) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.firebase.perfomance) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.ktlint) apply true
alias(libs.plugins.detekt) apply true
alias(libs.plugins.spotless) apply true
alias(libs.plugins.secrets) apply false
}
buildscript {
dependencies {
classpath(libs.secrets.gradle.plugin)
}
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
ktlint {
android.set(true)
outputToConsole.set(true)
ignoreFailures.set(false)
filter {
exclude("**/build/**")
}
}
apply(plugin = "io.gitlab.arturbosch.detekt")
detekt {
buildUponDefaultConfig = true
config.setFrom("${project.rootDir}/config/detekt/detekt.yml")
parallel = true
}
}