File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
website/docs/docs/brownfield Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -335,15 +335,25 @@ tasks.named("generateMetadataFileForMavenAarPublication") {
335335
336336> Note: You'll need an existing Android app or create a new one in Android Studio.
337337
338- 1 . Add the dependency to your app's ` build.gradle.kts ` :
338+ 1 . Add ` mavenLocal() ` to your app's dependency resolution in ` settings.gradle.kts ` :
339+
340+ ``` groovy title="settings.gradle.kts" {3}
341+ dependencyResolutionManagement {
342+ repositories {
343+ mavenLocal()
344+ }
345+ }
346+ ```
347+
348+ 2 . Add the dependency to your app's ` build.gradle.kts ` :
339349
340350 ``` groovy title="build.gradle.kts" {2}
341351 dependencies {
342352 implementation("com.callstack:rnbrownfield:0.0.1-local")
343353 }
344354 ```
345355
346- 1 . Initialize React Native in your ` MainActivity ` :
356+ 3 . Initialize React Native in your ` MainActivity ` :
347357
348358 ``` kotlin
349359 class MainActivity : AppCompatActivity () {
You can’t perform that action at this time.
0 commit comments