Guest User

Untitled

a guest
May 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4. repositories {
  5. jcenter()
  6. google()
  7. maven {
  8. url 'https://maven.fabric.io/public'
  9. }
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:3.1.2'
  13. classpath 'com.google.gms:google-services:3.2.1'
  14. classpath 'io.fabric.tools:gradle:1.25.1'
  15. classpath 'com.google.firebase:firebase-plugins:1.1.5'
  16.  
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21.  
  22. allprojects {
  23. repositories {
  24. jcenter()
  25. google()
  26. maven {
  27. url 'https://maven.google.com/'
  28. }
  29. }
  30. }
  31.  
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }
  35.  
  36. apply plugin: 'com.android.application'
  37. apply plugin: 'com.google.firebase.firebase-perf'
  38. apply plugin: 'io.fabric'
  39. apply plugin: 'com.google.gms.google-services'
  40.  
  41. android {
  42. compileSdkVersion 26
  43. buildToolsVersion '27.0.3'
  44.  
  45. defaultConfig {
  46. applicationId "XXXXXXXX"
  47. minSdkVersion 16
  48. targetSdkVersion 26
  49. versionCode 1
  50. versionName "1.0"
  51. vectorDrawables.useSupportLibrary = true
  52. }
  53. buildTypes {
  54. release {
  55. minifyEnabled false
  56. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  57. }
  58. }
  59. }
  60.  
  61. dependencies {
  62. implementation 'com.android.support:support-v4:26.1.0'
  63. implementation 'com.android.support:support-vector-drawable:26.1.0'
  64. implementation 'com.android.support.constraint:constraint-layout:1.1.0'
  65. implementation 'com.google.firebase:firebase-perf:11.8.0'
  66. // implementation 'com.google.firebase:firebase-auth:11.8.0'
  67.  
  68. compile fileTree(include: ['*.jar'], dir: 'libs')
  69. testCompile 'junit:junit:4.12'
  70.  
  71. compile 'com.android.support:appcompat-v7:26.1.0'
  72. compile 'com.android.support:design:26.1.0'
  73. compile 'com.google.firebase:firebase-core:11.8.0'
  74. compile 'com.google.firebase:firebase-database:11.8.0'
  75. compile 'com.firebaseui:firebase-ui:3.2.2'
  76. compile 'com.google.firebase:firebase-messaging:11.8.0'
  77. compile 'com.crashlytics.sdk.android:crashlytics:2.9.1'
  78.  
  79. annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
  80. }
  81.  
  82. apply plugin: 'com.google.gms.google-services'
Add Comment
Please, Sign In to add comment