Skip to content

Initial Kotlin setup and migrate YogaConstants#53133

Closed
rshest wants to merge 1 commit into
react:mainfrom
rshest:export-D79545992
Closed

Initial Kotlin setup and migrate YogaConstants#53133
rshest wants to merge 1 commit into
react:mainfrom
rshest:export-D79545992

Conversation

@rshest

@rshest rshest commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Summary:

Changelog:

[Internal] -

As part of the ongoing effort to migrate the React Native codebase to Kotlin, this PR introduces the initial setup required for Kotlin support in Yoga.

  • Added initial basic Kotlin configuration to the project.
  • Migrated YogaConstants as an initial file to try out the first migration steps.

X-link: react/yoga#1829

Reviewed By: cortinico

Differential Revision: D79545992

Pulled By: rshest

Summary:
# Changelog:
[Internal] -

As part of the ongoing effort to migrate the React Native codebase to Kotlin, this PR introduces the initial setup required for Kotlin support in Yoga.

- Added initial basic Kotlin configuration to the project.
- Migrated `YogaConstants` as an initial file to try out the first migration steps.

X-link: react/yoga#1829

Reviewed By: cortinico

Differential Revision: D79545992

Pulled By: rshest
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 7, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D79545992

facebook-github-bot pushed a commit to react/yoga that referenced this pull request Aug 7, 2025
Summary:
X-link: react/react-native#53133

# Changelog:
[Internal] -

As part of the ongoing effort to migrate the React Native codebase to Kotlin, this PR introduces the initial setup required for Kotlin support in Yoga.

- Added initial basic Kotlin configuration to the project.
- Migrated `YogaConstants` as an initial file to try out the first migration steps.

Pull Request resolved: #1829

Test Plan:
- Tested the migrated class directly against facebook/react-native, see the PR [here](react/react-native#52998).
- Run: `./gradlew :yoga:assembleDebug` & `./gradlew :yoga:compileDebugSources`

I am not able to run the Java tests in this repo (even before the initial Kotlin setup) – not sure if I am missing something there but any pointers are welcome – it seems like there is some missing configuration. Currently trying with `./gradlew :yoga:test`

Reviewed By: cortinico

Differential Revision: D79545992

Pulled By: rshest

fbshipit-source-id: 8257ff53e6b6f2436980be98b6c94e1ac526b207
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 7, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@rshest merged this pull request in f189439.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @mateoguzmana in f189439

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants