You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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 = 21
  6. compileSdkVersion = 30
  7. targetSdkVersion = 30
  8. }
  9. repositories {
  10. google()
  11. mavenCentral()
  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. }
  19. }
  20. allprojects {
  21. repositories {
  22. mavenLocal()
  23. maven {
  24. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  25. url(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../android"))
  26. }
  27. maven {
  28. // Android JSC is installed from npm
  29. url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), "../dist"))
  30. }
  31. google()
  32. mavenCentral()
  33. jcenter()
  34. maven { url 'https://www.jitpack.io' }
  35. }
  36. }