Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.google.gms.google-services'
  3. android {
  4. compileSdkVersion 21
  5. buildToolsVersion "22.0.1"
  6.  
  7. lintOptions {
  8. abortOnError false
  9. }
  10. packagingOptions {
  11. exclude 'META-INF/LICENSE'
  12. exclude 'META-INF/LICENSE.txt'
  13. exclude 'META-INF/NOTICE'
  14. exclude 'META-INF/NOTICE.txt'
  15. exclude 'META-INF/DEPENDENCIES'
  16. exclude 'META-INF/maven/com.google.guava/guava/pom.properties'
  17. exclude 'META-INF/maven/com.google.guava/guava/pom.xml'
  18. exclude 'com.google.android.gms.measurement'
  19.  
  20. }
  21. defaultConfig {
  22. applicationId "com.elisiumlabs.sarthi"
  23. minSdkVersion 10
  24. targetSdkVersion 19
  25. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  26. }
  27. buildTypes {
  28.  
  29. release {
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  32. }
  33. }
  34. compileOptions {
  35. sourceCompatibility JavaVersion.VERSION_1_7
  36. targetCompatibility JavaVersion.VERSION_1_7
  37. }
  38.  
  39. }
  40.  
  41. dependencies {
  42.  
  43. compile project(':androidQuery')
  44. compile project(':pinnedSectionListActivity')
  45. compile project(':volley')
  46. compile project(':facebookSDK')
  47. compile 'com.google.code.gson:gson:2.2.4'
  48. compile 'joda-time:joda-time:2.3'
  49. compile 'com.android.support:gridlayout-v7:21.0.0'
  50. compile "com.google.android.gms:play-services-location:8.3.0"
  51. // compile "com.google.android.gms:play-services-gcm:8.3.0"
  52. compile 'com.android.support:appcompat-v7:21.0.3'
  53.  
  54.  
  55. compile('com.google.android.gms:play-services-gcm:8.3.0') {
  56. exclude group: 'com.google.android.gms.measurement'
  57. }
  58. compile('com.google.firebase:firebase-core:9.0.2')
  59. {
  60. exclude group: 'com.google.android.gms.measurement'
  61. }
  62. /*compile files('libs/appcompat_v7.jar')*/
  63. compile files('libs/commons-io-1.4.jar')
  64. compile files('libs/commons-lang-2.4.jar')
  65. compile files('libs/httpclient-4.3.5.jar')
  66. /*compile files('libs/objectify-5.0.3.jar')*/
  67. compile 'commons-codec:commons-codec:1.9'
  68. compile files('libs/splunk-mint-4.1.jar')
  69. testCompile 'junit:junit:4.12'
  70. // androidTestCompile 'com.android.support:support-annotations:21.0.0'
  71. androidTestCompile 'com.android.support.test:runner:0.4.1'
  72. androidTestCompile 'com.android.support.test:rules:0.4.1'
  73. // Optional -- Hamcrest library
  74. androidTestCompile 'org.hamcrest:hamcrest-library:1.3'
  75. // Optional -- UI testing with Espresso
  76. /* androidTestCompile('com.android.support.test.espresso:espresso- core:2.2.1') {
  77. // Necessary if your app targets Marshmallow (since Espresso
  78. // hasn't moved to Marshmallow yet)
  79. exclude group: 'com.android.support', module: 'support-annotations'
  80. }*/
  81. androidTestCompile('com.android.support.test.espresso:espresso- contrib:2.2.2') {
  82. // Necessary if your app targets Marshmallow (since Espresso
  83. // hasn't moved to Marshmallow yet)
  84. exclude group: 'com.android.support', module: 'support-annotations'
  85. exclude group: 'javax.inject'
  86. exclude group: 'com.android.support'
  87. }
  88. androidTestCompile('com.android.support.test.espresso:espresso-web:2.2.2'){
  89. // Necessary if your app targets Marshmallow (since Espresso
  90. // hasn't moved to Marshmallow yet)
  91. exclude group: 'com.android.support', module: 'support-annotations'
  92. }
  93. // Optional -- UI testing with UI Automator
  94. androidTestCompile('com.android.support.test.uiautomator:uiautomator-v18:2.1.1'){
  95. // Necessary if your app targets Marshmallow (since the test runner
  96. // hasn't moved to Marshmallow yet)
  97. exclude group: 'com.android.support', module: 'support-annotations'
  98. }
  99.  
  100.  
  101. }
  102. configurations.all {
  103. resolutionStrategy {
  104. force 'com.android.support:support-annotations:23.0.1'
  105. }
  106. }
  107.  
  108. android {
  109. compileSdkVersion 21
  110. buildToolsVersion "21.1.0"
  111.  
  112. defaultConfig {
  113. ...
  114. minSdkVersion 14
  115. targetSdkVersion 21
  116. ...
  117.  
  118. // Enabling multidex support.
  119. multiDexEnabled true
  120. }
  121. ...
  122. }
  123.  
  124. dependencies {
  125. compile 'com.android.support:multidex:1.0.0'
  126. }
  127.  
  128. <application
  129. android:allowBackup="true"
  130. android:icon="@mipmap/ic_launcher"
  131. android:label="@string/app_name"
  132. android:supportsRtl="true"
  133. android:theme="@style/AppTheme"
  134. android:name="android.support.multidex.MultiDexApplication"
  135. >
  136.  
  137. dexOptions {
  138. //incremental = true;
  139. preDexLibraries = false
  140. javaMaxHeapSize "4g"
  141. }
  142.  
  143. compile('com.google.firebase:firebase-core:9.0.2')
  144. {
  145. exclude group: 'com.google.android.gms.measurement'
  146. }
  147.  
  148. compile('com.google.android.gms:play-services-gcm:11.8.0')
  149. compile('com.google.firebase:firebase-core:11.8.0')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement