-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathbuild.gradle.kts
26 lines (24 loc) · 905 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
import com.diffplug.gradle.spotless.SpotlessExtension
import com.diffplug.gradle.spotless.SpotlessPlugin
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.androidx.navigation.safeargs.kotlin) apply false
alias(libs.plugins.androidx.room) apply false
alias(libs.plugins.dagger.hilt.android) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.oss.licenses) apply false
alias(libs.plugins.spotless) apply false
}
subprojects {
apply<SpotlessPlugin>()
extensions.configure<SpotlessExtension> {
kotlin {
target("**/*.kt")
targetExclude("${layout.buildDirectory}/**/*.kt")
ktlint(libs.versions.ktlint.get())
}
}
}