Skip to content

Commit 8480386

Browse files
cortinicofacebook-github-bot
authored andcommitted
Disable running ktfmtCheck due to diverging ktfmt versions (#53359)
Summary: Pull Request resolved: #53359 A new version of ktfmt broke the OSS CI build for React Native. That's due to us running still on the older version of ktfmt, as the newer version hasn't been released yet. I'm temporarly disabling the `ktfmtCheck` jobs because we primarly check formatting from within fbsource. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D80610450 fbshipit-source-id: 846249780f979788356404205d8b8e37fc54a255
1 parent 9910981 commit 8480386

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,7 @@ allprojects {
177177
}
178178
}
179179
}
180+
181+
// We intentionally disable the `ktfmtCheck` tasks as the formatting is primarly handled inside
182+
// fbsource
183+
allprojects { tasks.withType<com.ncorti.ktfmt.gradle.tasks.KtfmtCheckTask>() { enabled = false } }

packages/gradle-plugin/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ tasks.named("ktfmtFormat") {
4545
":shared:ktfmtFormat",
4646
)
4747
}
48+
49+
// We intentionally disable the `ktfmtCheck` tasks as the formatting is primarly handled inside
50+
// fbsource
51+
allprojects { tasks.withType<com.ncorti.ktfmt.gradle.tasks.KtfmtCheckTask>() { enabled = false } }

0 commit comments

Comments
 (0)