add android sample gradle support #886

Closed
gengjiawen wants to merge 1 commits from android_sample into main
gengjiawen commented 2019-04-07 07:24:09 -07:00 (Migrated from github.com)
Related issue: https://github.com/facebook/yoga/issues/728.
Mishkun (Migrated from github.com) reviewed 2019-05-07 08:23:40 -07:00
@@ -6,6 +6,7 @@
*/
include ':yoga', ':yogacore', ':yoga-layout', ':yoga:proguard-annotations', ':libfb'
include ':android:sample'
Mishkun (Migrated from github.com) commented 2019-05-07 08:23:40 -07:00
include ':yoga-layout:sample'

Or else it fails to sync with the message

ERROR: The modules ['android', 'yoga-layout'] point to the same directory in the file system.
Each module must have a unique path.

because when using relative project naming you implicitly declare an 'android' project

```suggestion include ':yoga-layout:sample' ``` Or else it fails to sync with the message ``` ERROR: The modules ['android', 'yoga-layout'] point to the same directory in the file system. Each module must have a unique path. ``` because when using relative project naming you implicitly declare an 'android' project
gengjiawen (Migrated from github.com) reviewed 2019-05-07 08:27:14 -07:00
@@ -6,6 +6,7 @@
*/
include ':yoga', ':yogacore', ':yoga-layout', ':yoga:proguard-annotations', ':libfb'
include ':android:sample'
gengjiawen (Migrated from github.com) commented 2019-05-07 08:27:13 -07:00

I don't see the error neither on windows nor on macOS.

I don't see the error neither on windows nor on macOS.
gengjiawen commented 2019-05-14 05:00:00 -07:00 (Migrated from github.com)

@davidaurelio Can you review this too ?

@davidaurelio Can you review this too ?
NickGerleman commented 2023-06-06 15:53:02 -07:00 (Migrated from github.com)

I think @cortinico took this on as part of recent Gradle work. https://github.com/facebook/yoga/blob/main/sample/build.gradle

I think @cortinico took this on as part of recent Gradle work. https://github.com/facebook/yoga/blob/main/sample/build.gradle

Pull request closed

Sign in to join this conversation.
No description provided.