-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (28 loc) · 930 Bytes
/
build.gradle.kts
File metadata and controls
32 lines (28 loc) · 930 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
29
30
31
32
// Top-level build file where you can add configuration options common to all sub-projects/modules.
@Suppress("DSL_SCOPE_VIOLATION")
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.jvm) apply false
alias(libs.plugins.ktlint) apply false
alias(libs.plugins.detekt) apply true
alias(libs.plugins.hilt) apply false
alias(libs.plugins.kotlin.kapt) apply false
}
allprojects {
apply {
plugin("org.jlleitschuh.gradle.ktlint")
plugin("io.gitlab.arturbosch.detekt")
}
afterEvaluate {
project.apply("$rootDir/gradle/common.gradle")
detekt {
buildUponDefaultConfig = true
config.setFrom(files("$rootDir/detekt-config.yml"))
}
}
}
apply {
from("gradle/projectDependencyGraph.gradle")
}