暂无描述

build.gradle 1009B

123456789101112131415161718192021222324252627282930313233343536373839
  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 = 16
  6. compileSdkVersion = 29
  7. targetSdkVersion = 28
  8. }
  9. repositories {
  10. google()
  11. jcenter()
  12. }
  13. dependencies {
  14. classpath("com.android.tools.build:gradle:3.5.2")
  15. // NOTE: Do not place your application dependencies here; they belong
  16. // in the individual module build.gradle files
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. mavenLocal()
  22. maven {
  23. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  24. url("$rootDir/../../node_modules/react-native/android")
  25. }
  26. maven {
  27. // Android JSC is installed from npm
  28. url("$rootDir/../../node_modules/jsc-android/dist")
  29. }
  30. google()
  31. jcenter()
  32. maven { url 'https://www.jitpack.io' }
  33. }
  34. }