-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
31 lines (30 loc) · 1.02 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
plugins {
alias(libs.plugins.spotless)
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.sqldelight) apply false
alias(libs.plugins.buildkonfig) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.hilt) apply false
}
subprojects {
apply {
plugin(rootProject.libs.plugins.spotless.get().pluginId)
}
spotless {
kotlin {
target("**/*.kt")
ktlint(libs.versions.ktlint.get())
.setEditorConfigPath(rootProject.file(".editorconfig").path)
}
kotlinGradle {
target("*.gradle.kts")
ktlint(libs.versions.ktlint.get())
.setEditorConfigPath(rootProject.file(".editorconfig").path)
}
}
}