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
This commit is contained in:
zml 2022-12-08 20:40:52 -08:00 committed by Jason
parent 86b76b91c7
commit 59c5a8310c
33 changed files with 204 additions and 135 deletions

View file

@ -8,3 +8,17 @@ subprojects {
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"))
}
}