build: update ktlint gradle plugin configuration

This commit is contained in:
Gauthier Roebroeck 2025-07-15 13:05:30 +08:00
parent ce7816b0af
commit eacf305ba8
2 changed files with 7 additions and 0 deletions

View file

@ -45,6 +45,10 @@ allprojects {
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
version = "1.5.0"
filter {
exclude("**/generated-src/**")
exclude("**/generated/**")
}
}
}

View file

@ -374,6 +374,9 @@ sourceSets {
}
}
}
tasks.runKtlintFormatOverMainSourceSet {
dependsOn("generateTasksJooq")
}
tasks.runKtlintCheckOverMainSourceSet {
dependsOn("generateTasksJooq")
}