mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
build: update ktlint gradle plugin configuration
This commit is contained in:
parent
ce7816b0af
commit
eacf305ba8
2 changed files with 7 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ allprojects {
|
|||
|
||||
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
|
||||
version = "1.5.0"
|
||||
filter {
|
||||
exclude("**/generated-src/**")
|
||||
exclude("**/generated/**")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -374,6 +374,9 @@ sourceSets {
|
|||
}
|
||||
}
|
||||
}
|
||||
tasks.runKtlintFormatOverMainSourceSet {
|
||||
dependsOn("generateTasksJooq")
|
||||
}
|
||||
tasks.runKtlintCheckOverMainSourceSet {
|
||||
dependsOn("generateTasksJooq")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue