Initial Kotlin setup and migrate YogaConstants
#1829
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/initial-setup-for-kotlin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
YogaConstants
as an initial file to try out the first migration steps.Test plan:
./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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@rshest has imported this pull request. If you are a Meta employee, you can view this in D79545992.
@@ -9,6 +9,7 @@ plugins {
id("com.android.library") version "8.7.1" apply false
Can you use the same Kotlin version we use inside react-native here (2.1.20)?
@rshest has imported this pull request. If you are a Meta employee, you can view this in D79545992.
@@ -9,6 +9,7 @@ plugins {
id("com.android.library") version "8.7.1" apply false
Changed it in
a4286e3233
@rshest merged this pull request in facebook/yoga@8bf7a34d02.
Pull request closed