-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
34 lines (28 loc) · 1.08 KB
/
build.gradle.kts
File metadata and controls
34 lines (28 loc) · 1.08 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
plugins {
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
id("com.android.library") version "8.2.0" apply false
id("com.android.application") version "8.2.0" apply false
id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false
id("com.google.dagger.hilt.android") version "2.48" apply false
id("org.jlleitschuh.gradle.ktlint") version "11.6.0" apply false
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint") // Version should be inherited from parent
repositories {
// Required to download KtLint
mavenCentral()
}
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
debug.set(false)
verbose.set(false)
android.set(true)
outputToConsole.set(true)
reporters {
reporter(ReporterType.PLAIN)
reporter(ReporterType.CHECKSTYLE)
}
ignoreFailures.set(false)
}
}