Skip to content

Commit

Permalink
exclude resources from ktlint
Browse files Browse the repository at this point in the history
(cherry picked from commit eb8f435)
  • Loading branch information
neetopia authored and KSP Auto Pick committed Jul 12, 2023
1 parent d7c6ff4 commit b118367
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/com/google/devtools/ksp/Ktlint.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ private fun JavaExec.configureCommonKtlintParams(
it.exclude("**/testData/**")
it.exclude("**/build/**")
it.exclude("**/.*/**")
it.exclude("**/resources/**")
}
val outputFile = project.buildDir.resolve("reports/ktlint/ktlint-checkstyle-report.xml")
inputs.files(ktlintInputFiles)
Expand Down

0 comments on commit b118367

Please sign in to comment.