-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
45 lines (42 loc) · 1.04 KB
/
build.gradle
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
42
43
44
45
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath libs.gradle.plugin.kotlin
classpath libs.gradle.plugin.android
classpath libs.gradle.plugin.kotlin.serialization
classpath libs.gradle.plugin.detekt
}
}
plugins {
id("io.gitlab.arturbosch.detekt") version libs.versions.detekt
alias(libs.plugins.jetbrains.compose) apply false
alias(libs.plugins.compose.compiler) apply false
}
dependencies {
detektPlugins libs.detekt.formatting
}
task detektAll(type: io.gitlab.arturbosch.detekt.Detekt) {
parallel = true
setSource(files(projectDir))
include("**/*.kt")
include("**/*.kts")
exclude("**/resources/**")
exclude("**/build/**")
buildUponDefaultConfig = true
config.from(files("$rootDir/quality/detekt.yml"))
reports {
html.enabled = false
xml.enabled = false
txt.enabled = false
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}