build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 = 21
  6. compileSdkVersion = 32
  7. targetSdkVersion = 32
  8. kotlinVersion = "1.6.0"
  9. }
  10. repositories {
  11. google()
  12. mavenCentral()
  13. jcenter()
  14. }
  15. dependencies {
  16. classpath("com.android.tools.build:gradle:4.1.0")
  17. classpath 'com.google.gms:google-services:4.3.5'
  18. // NOTE: Do not place your application dependencies here; they belong
  19. // in the individual module build.gradle files
  20. }
  21. }
  22. allprojects {
  23. repositories {
  24. mavenLocal()
  25. maven {
  26. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  27. url(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../android"))
  28. }
  29. maven {
  30. // Android JSC is installed from npm
  31. url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), "../dist"))
  32. }
  33. google()
  34. mavenCentral()
  35. jcenter()
  36. maven { url 'https://www.jitpack.io' }
  37. }
  38. }