Skip to content

Commit

Permalink
TOREVERT: build RN from source in Example on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Sep 13, 2024
1 parent c87dec2 commit 32e0984
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Example/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
extensions.configure(com.facebook.react.ReactSettingsExtension) { ex -> ex.autolinkLibrariesFromCommand() }
rootProject.name = 'ScreensExample'
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')


includeBuild('../node_modules/react-native') {
dependencySubstitution {
substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid"))
substitute(module("com.facebook.react:react-native")).using(project(":packages:react-native:ReactAndroid"))
substitute(module("com.facebook.react:hermes-android")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
substitute(module("com.facebook.react:hermes-engine")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
}
}

0 comments on commit 32e0984

Please sign in to comment.