You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gradle-plugins/react/brownfield/src/main/kotlin/com/callstack/react/brownfield/artifacts/ArtifactsResolver.kt
Copy file name to clipboardExpand all lines: gradle-plugins/react/brownfield/src/main/kotlin/com/callstack/react/brownfield/plugin/RNBrownfieldPlugin.kt
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,19 @@ class RNBrownfieldPlugin
28
28
29
29
overridefunapply(project:Project) {
30
30
verifyAndroidPluginApplied(project)
31
-
32
31
initializers(project)
32
+
33
+
/**
34
+
* Make sure that expo project is evaluated before the android library.
35
+
* This ensures that the expo modules are available to link with the
36
+
* android library, when it is evaluated.
37
+
*/
38
+
val expoProjectPath =":expo"
39
+
val hasExpoProject = project.findProject(expoProjectPath) !=null
0 commit comments