forked from vfsfitvnm/ViMusic
-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
51 lines (41 loc) · 1.25 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
51 lines (41 loc) · 1.25 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import dev.detekt.gradle.Detekt
plugins {
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) 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.chaquo) apply false
alias(libs.plugins.detekt)
}
tasks.register<Delete>("clean") {
description = "Clean all build files"
delete(rootProject.layout.buildDirectory.asFile)
}
val topLevelLibs = libs
allprojects {
group = "app.vitune"
version = "1.2.3"
apply(plugin = "dev.detekt")
detekt {
buildUponDefaultConfig = true
allRules = false
config.setFrom("$rootDir/detekt.yml")
}
tasks.withType<Detekt>().configureEach {
jvmTarget = "25"
reports {
html.required = true
}
}
dependencies {
detektPlugins(topLevelLibs.detekt.compose)
detektPlugins(topLevelLibs.detekt.formatting)
}
}
tasks.named<UpdateDaemonJvm>("updateDaemonJvm") {
languageVersion = JavaLanguageVersion.of(25)
}