mirror of
https://github.com/danilkinkin/buckwheat.git
synced 2025-12-31 04:13:02 +00:00
29 lines
1.2 KiB
Kotlin
29 lines
1.2 KiB
Kotlin
subprojects {
|
|
pluginManager.apply("com.diffplug.spotless")
|
|
|
|
configure<com.diffplug.gradle.spotless.SpotlessExtension> {
|
|
kotlin {
|
|
// by default the target is every '.kt' and '.kts` file in the java sourcesets
|
|
ktfmt() // has its own section below
|
|
ktlint() // has its own section below
|
|
diktat() // has its own section below
|
|
prettier() // has its own section below
|
|
licenseHeaderFile(rootProject.file("spotless/copyright.kt")) // or licenseHeaderFile
|
|
}
|
|
kotlinGradle {
|
|
target("*.gradle.kts") // default target for kotlinGradle
|
|
ktlint() // or ktfmt() or prettier()
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("com.android.application") version "8.11.1" apply false
|
|
id("com.android.library") version "8.11.1" apply false
|
|
id("org.jetbrains.kotlin.android") version "2.2.0" apply false
|
|
id("com.google.dagger.hilt.android") version "2.57" apply false
|
|
id("com.diffplug.spotless") version "7.1.0"
|
|
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") version "2.0.1" apply false
|
|
id("com.github.ben-manes.versions") version "0.52.0"
|
|
id("com.google.devtools.ksp") version "2.2.0-2.0.2" apply false
|
|
}
|