-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle.kts
35 lines (30 loc) · 1.15 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
plugins {
alias(libs.plugins.android.application).apply(false)
alias(libs.plugins.android.library).apply(false)
kotlin("android").version(libs.versions.kotlin).apply(false)
kotlin("multiplatform").version(libs.versions.kotlin).apply(false)
kotlin("plugin.serialization").version(libs.versions.kotlin).apply(false)
alias(libs.plugins.compose.multiplatform).apply(false)
alias(libs.plugins.compose.compiler).apply(false)
alias(libs.plugins.ktlint).apply(false)
alias(libs.plugins.detekt).apply(false)
}
subprojects {
if (name != "desktopApp") {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
apply(plugin = "io.gitlab.arturbosch.detekt")
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
debug.set(true)
filter {
exclude { element ->
element.file.path.contains("generated")
}
}
}
configure<io.gitlab.arturbosch.detekt.extensions.DetektExtension> {
parallel = false
config.setFrom("../config/detekt-config.yml")
buildUponDefaultConfig = false
}
}
}