forked from 25huizengek1/ViTune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (32 loc) · 1 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
import io.gitlab.arturbosch.detekt.Detekt
plugins {
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.android.lint) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.detekt)
}
val clean by tasks.registering(Delete::class) {
delete(rootProject.layout.buildDirectory.asFile)
}
allprojects {
group = "app.vitune"
version = "1.1.1"
apply(plugin = "io.gitlab.arturbosch.detekt")
detekt {
buildUponDefaultConfig = true
allRules = false
config.setFrom("$rootDir/detekt.yml")
}
tasks.withType<Detekt>().configureEach {
jvmTarget = "17"
reports {
html.required = true
}
}
}