File tree Expand file tree Collapse file tree 1 file changed +16
-38
lines changed
Expand file tree Collapse file tree 1 file changed +16
-38
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- ext {
3- buildToolsVersion = " 36.0.0"
4- minSdkVersion = 24
5- compileSdkVersion = 36
6- targetSdkVersion = 36
7- ndkVersion = " 27.1.12297006"
8- kotlinVersion = " 2.1.20"
9- }
10-
11- repositories {
12- google()
13- mavenCentral()
14- }
15-
16- dependencies {
17- classpath(" com.android.tools.build:gradle" )
18- classpath(" com.facebook.react:react-native-gradle-plugin" )
19- classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin" )
20- }
21- }
22-
23- allprojects {
24- repositories {
25- maven {
26- // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
27- url({
28- def searchDir = rootDir. toPath()
29- do {
30- def p = searchDir. resolve(" node_modules/react-native/android" )
31- if (p. toFile(). exists()) {
32- return p. toRealPath(). toString()
33- }
34- } while (searchDir = searchDir. getParent())
35- throw new GradleException (" Could not find `react-native`" );
36- }())
2+ ext {
3+ buildToolsVersion = " 36.0.0"
4+ minSdkVersion = 24
5+ compileSdkVersion = 36
6+ targetSdkVersion = 36
7+ ndkVersion = " 27.1.12297006"
8+ kotlinVersion = " 2.1.20"
9+ }
10+ repositories {
11+ google()
12+ mavenCentral()
13+ }
14+ dependencies {
15+ classpath(" com.android.tools.build:gradle" )
16+ classpath(" com.facebook.react:react-native-gradle-plugin" )
17+ classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin" )
3718 }
38- mavenCentral()
39- google()
40- }
4119}
4220
4321apply plugin : " com.facebook.react.rootproject"
You can’t perform that action at this time.
0 commit comments