build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. buildToolsVersion = "30.0.2"
  5. minSdkVersion = 21
  6. compileSdkVersion = 30
  7. targetSdkVersion = 30
  8. ndkVersion = "20.1.5948944"
  9. }
  10. repositories {
  11. google()
  12. mavenCentral()
  13. }
  14. dependencies {
  15. classpath("com.android.tools.build:gradle:4.2.1")
  16. // NOTE: Do not place your application dependencies here; they belong
  17. // in the individual module build.gradle files
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. mavenCentral()
  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. maven { url 'https://www.jitpack.io' }
  34. }
  35. }