25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

57 lines
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 = "30.0.2"
  5. minSdkVersion = 21
  6. compileSdkVersion = 30
  7. targetSdkVersion = 30
  8. playServicesVersion="17.0.0"
  9. ndkVersion="20.1.5948044"
  10. }
  11. repositories {
  12. google()
  13. jcenter()
  14. }
  15. dependencies {
  16. classpath("com.android.tools.build:gradle:3.5.2")
  17. classpath ("com.google.gms:google-services:4.2.0")
  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("$rootDir/../node_modules/react-native/android")
  28. }
  29. maven {
  30. // Android JSC is installed from npm
  31. url("$rootDir/../node_modules/jsc-android/dist")
  32. }
  33. google()
  34. jcenter()
  35. maven { url 'https://www.jitpack.io' }
  36. }
  37. /*subprojects {
  38. project.configurations.all {
  39. resolutionStrategy.eachDependency { details ->
  40. if (details.requested.group == 'com.google.android.gms'
  41. && !details.requested.name.contains('multidex') ) {
  42. details.useVersion "+"
  43. }
  44. if (details.requested.group == 'com.google.firebase'
  45. && !details.requested.name.contains('multidex') ) {
  46. details.useVersion "+"
  47. }
  48. }
  49. }
  50. }*/
  51. }