/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/gradle-plugin/build.gradle.kts
51 строка
1 KB
Nicola Corti
Disable running ktfmtCheck due to diverging ktfmt versions (#53359)
20 авг 2025, 15:42
20 авг 2025, 15:42
8480386
Код
Авторство
О чём код?
/* * 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 } }