oblak/build.gradle.kts
zml 59c5a8310c build: update build-time dependencies, address new warnings (#413)
* 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
2022-12-13 11:13:00 -07:00

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"))
}
}