Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

55 řádky
1.6 KiB

  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 = 19
  6. compileSdkVersion = 29
  7. targetSdkVersion = 29
  8. playServicesVersion="17.0.0"
  9. }
  10. repositories {
  11. google()
  12. jcenter()
  13. }
  14. dependencies {
  15. classpath("com.android.tools.build:gradle:3.5.2")
  16. classpath ("com.google.gms:google-services:4.2.0")
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  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. /*subprojects {
  37. project.configurations.all {
  38. resolutionStrategy.eachDependency { details ->
  39. if (details.requested.group == 'com.google.android.gms'
  40. && !details.requested.name.contains('multidex') ) {
  41. details.useVersion "+"
  42. }
  43. if (details.requested.group == 'com.google.firebase'
  44. && !details.requested.name.contains('multidex') ) {
  45. details.useVersion "+"
  46. }
  47. }
  48. }
  49. }*/
  50. }