build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. buildToolsVersion = "29.0.3"
  5. minSdkVersion = 26
  6. compileSdkVersion = 29
  7. targetSdkVersion = 29
  8. ndkVersion = "20.1.5948944"
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath("com.android.tools.build:gradle:4.1.0")
  16. // NOTE: Do not place your application dependencies here; they belong
  17. // in the individual module build.gradle files
  18. classpath 'com.google.gms:google-services:4.3.10'
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. mavenLocal()
  24. maven {
  25. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  26. url("$rootDir/../node_modules/react-native/android")
  27. }
  28. maven {
  29. // Android JSC is installed from npm
  30. url("$rootDir/../node_modules/jsc-android/dist")
  31. }
  32. google()
  33. jcenter()
  34. maven { url 'https://www.jitpack.io' }
  35. }
  36. }