-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
39 lines (34 loc) · 1015 Bytes
/
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
39
@file:Suppress("DSL_SCOPE_VIOLATION")
buildscript {
dependencies {
classpath(libs.buildkonfig.gradle.plugin)
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.skie) apply false
alias(libs.plugins.nativecoroutines) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.ktlint) apply false
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
version.set("1.4.0")
android.set(true)
filter {
include("**/kotlin/**")
exclude("**/build/**")
// exclude("**/generated/**")
exclude { element ->
val path = element.file.path
path.contains("\\generated\\") || path.contains("/generated/")
}
exclude("**.kts")
}
}
}