mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8480386d50
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
52 lines
1.2 KiB
Kotlin
52 lines
1.2 KiB
Kotlin
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.jvm).apply(false)
|
|
alias(libs.plugins.ktfmt).apply(true)
|
|
}
|
|
|
|
tasks.register("build") {
|
|
dependsOn(
|
|
":react-native-gradle-plugin:build",
|
|
":settings-plugin:build",
|
|
":shared-testutil:build",
|
|
":shared:build",
|
|
)
|
|
}
|
|
|
|
tasks.register("clean") {
|
|
dependsOn(
|
|
":react-native-gradle-plugin:clean",
|
|
":settings-plugin:clean",
|
|
":shared-testutil:clean",
|
|
":shared:clean",
|
|
)
|
|
}
|
|
|
|
tasks.named("ktfmtCheck") {
|
|
dependsOn(
|
|
":react-native-gradle-plugin:ktfmtCheck",
|
|
":settings-plugin:ktfmtCheck",
|
|
":shared-testutil:ktfmtCheck",
|
|
":shared:ktfmtCheck",
|
|
)
|
|
}
|
|
|
|
tasks.named("ktfmtFormat") {
|
|
dependsOn(
|
|
":react-native-gradle-plugin:ktfmtFormat",
|
|
":settings-plugin:ktfmtFormat",
|
|
":shared-testutil:ktfmtFormat",
|
|
":shared:ktfmtFormat",
|
|
)
|
|
}
|
|
|
|
// We intentionally disable the `ktfmtCheck` tasks as the formatting is primarly handled inside
|
|
// fbsource
|
|
allprojects { tasks.withType<com.ncorti.ktfmt.gradle.tasks.KtfmtCheckTask>() { enabled = false } }
|