* build: update build-time dependencies, address new warnings * build: switch to central repo declaration, remove redundant repositories * build: use spotless predeclaration, more task avoidance on kotlin modules
24 lines
554 B
Kotlin
24 lines
554 B
Kotlin
plugins {
|
|
id("cloud.parent-build-logic")
|
|
id("com.github.ben-manes.versions")
|
|
}
|
|
|
|
subprojects {
|
|
if (!name.startsWith("example-")) {
|
|
apply(plugin = "cloud.publishing-conventions")
|
|
}
|
|
}
|
|
|
|
spotlessPredeclare {
|
|
kotlin { ktlint(libs.versions.ktlint.get()) }
|
|
kotlinGradle { ktlint(libs.versions.ktlint.get()) }
|
|
}
|
|
|
|
tasks {
|
|
spotlessCheck {
|
|
dependsOn(gradle.includedBuild("build-logic").task(":spotlessCheck"))
|
|
}
|
|
spotlessApply {
|
|
dependsOn(gradle.includedBuild("build-logic").task(":spotlessApply"))
|
|
}
|
|
}
|