Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. multiDexEnabled true
  2.  
  3. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  4.  
  5. buildscript {
  6. repositories {
  7. jcenter()
  8. mavenCentral()
  9. }
  10. dependencies {
  11.  
  12. classpath 'com.android.tools.build:gradle:3.0.0'
  13. classpath 'com.google.gms:google-services:3.1.0'
  14.  
  15. //classpath 'com.android.tools.build:gradle:2.3.3'
  16. //classpath 'com.google.gms:google-services:3.1.0'
  17.  
  18. // NOTE: Do not place your application dependencies here; they belong
  19. // in the individual module build.gradle files
  20. }
  21. }
  22.  
  23. allprojects {
  24. repositories {
  25. jcenter()
  26. maven { url "https://jitpack.io" }
  27. maven { url "https://maven.google.com" }
  28. }
  29. }
  30.  
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }
  34.  
  35. apply plugin: 'com.android.application'
  36.  
  37. android {
  38. compileSdkVersion 26
  39. buildToolsVersion '26.0.2'
  40. defaultConfig {
  41. multiDexEnabled true
  42. applicationId "com.example.aaronliang.flow_v1"
  43. minSdkVersion 15
  44. targetSdkVersion 26
  45. versionCode 1
  46. versionName "1.0"
  47. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  48. }
  49. buildTypes {
  50. release {
  51. minifyEnabled false
  52. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  53. }
  54. }
  55. }
  56.  
  57. dependencies {
  58. compile fileTree(include: ['*.jar'], dir: 'libs')
  59. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  60. exclude group: 'com.android.support', module: 'support-annotations'
  61. })
  62. compile 'com.android.support:appcompat-v7:26.1.0'
  63. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  64. compile 'com.android.volley:volley:1.0.0'
  65. compile 'com.github.bumptech.glide:glide:3.7.0'
  66. compile 'com.google.firebase:firebase-firestore:11.6.0'
  67. compile 'com.google.firebase:firebase-auth:11.6.0'
  68. compile 'com.google.firebase:firebase-core:11.6.0'
  69. compile 'com.google.android.gms:play-services:11.6.0'
  70. compile 'com.github.woxthebox:draglistview:1.5.0'
  71. //compile 'com.github.PhilJay:MPAndroidChart:v3.0.2'
  72. compile 'com.jjoe64:graphview:4.2.1'
  73. testCompile 'junit:junit:4.12'
  74. }
  75. apply plugin: 'com.google.gms.google-services'
  76.  
  77. configurations.all {
  78. resolutionStrategy.eachDependency { DependencyResolveDetails details ->
  79. def requested = details.requested
  80. if (requested.group == 'com.android.support') {
  81. if (!requested.name.startsWith("multidex")) {
  82. details.useVersion '25.3.1'
  83. }
  84. }
  85.  
  86. }
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement