Skip to content

Commit 06770ac

Browse files
committed
Disable running ktfmt on check
1 parent db4e52c commit 06770ac

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • buildSrc/src/main/kotlin/com/google/devtools/ksp

buildSrc/src/main/kotlin/com/google/devtools/ksp/Ktfmt.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ fun Project.configureKtfmt() {
3434
task.group = "Verification"
3535
}
3636

37-
afterEvaluate {
38-
project.tasks.named("check").configure { checkTask ->
39-
checkTask.dependsOn(ktfmtCheck)
37+
if (false) { // TODO: Remove this guard when all files have been formatted.
38+
afterEvaluate {
39+
project.tasks.named("check").configure { checkTask ->
40+
checkTask.dependsOn(ktfmtCheck)
41+
}
4042
}
4143
}
4244

0 commit comments

Comments
 (0)