Summary:
Pull Request resolved: https://github.com/react/react-native/pull/58462
Add `yarn format-kotlin` and `yarn format-check-kotlin` using the npm `ktfmt` package and its bundled formatter jar. This adds the offline package mirror and workspace lock entry without changing existing Kotlin source formatting or Gradle configuration. The wrapper discovers a suitable JDK when available and otherwise prints environment-specific Java 17 setup guidance before skipping Kotlin.
allow-large-files: The npm package intentionally contains the upstream ktfmt executable jar so offline and public installs use the same formatter.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D119487612
fbshipit-source-id: cb699a1286cffbf461ef69ed66f694e3f69415d0