this repo has no description
at main 919 B view raw
1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 repositories { 5 google() 6 mavenCentral() 7 } 8 dependencies { 9 classpath('com.android.tools.build:gradle') 10 classpath('com.facebook.react:react-native-gradle-plugin') 11 classpath('org.jetbrains.kotlin:kotlin-gradle-plugin') 12 } 13} 14 15def reactNativeAndroidDir = new File( 16 providers.exec { 17 workingDir(rootDir) 18 commandLine("node", "--print", "require.resolve('react-native/package.json')") 19 }.standardOutput.asText.get().trim(), 20 "../android" 21) 22 23allprojects { 24 repositories { 25 maven { 26 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 27 url(reactNativeAndroidDir) 28 } 29 30 google() 31 mavenCentral() 32 maven { url 'https://www.jitpack.io' } 33 } 34} 35 36apply plugin: "expo-root-project" 37apply plugin: "com.facebook.react.rootproject"