Advertisement
Guest User

gradle

a guest
Jan 27th, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.01 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. maven { url 'https://maven.fabric.io/public' }
  4. }
  5.  
  6. dependencies {
  7. classpath 'io.fabric.tools:gradle:1.+'
  8. }
  9. configurations.all {
  10. resolutionStrategy {
  11. // Override the default version of ProGuard
  12. // with the most recent one.
  13. force 'net.sf.proguard:proguard-gradle:6.0.3'
  14. }
  15. }
  16. }
  17. apply plugin: 'com.android.application'
  18.  
  19.  
  20. android {
  21. compileSdkVersion 28
  22. defaultConfig {
  23. applicationId "id.jababeka"
  24. minSdkVersion 16
  25. targetSdkVersion 28
  26. versionCode 17
  27. versionName "1.20.8"
  28. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  29. multiDexEnabled true
  30. }
  31. lintOptions {
  32. disable 'MissingTranslation'
  33. checkReleaseBuilds false
  34. }
  35. buildTypes {
  36. release {
  37. debuggable false
  38. useProguard true
  39. minifyEnabled true
  40. shrinkResources true
  41. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  42. signingConfig signingConfigs.config
  43. }
  44.  
  45. debug {
  46. debuggable true
  47. useProguard true
  48. minifyEnabled true
  49. shrinkResources true
  50. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  51. }
  52. }
  53. packagingOptions {
  54. exclude 'META-INF/DEPENDENCIES'
  55. exclude 'META-INF/LICENSE'
  56. exclude 'META-INF/LICENSE.txt'
  57. exclude 'META-INF/license.txt'
  58. exclude 'META-INF/NOTICE'
  59. exclude 'META-INF/NOTICE.txt'
  60. exclude 'META-INF/notice.txt'
  61. exclude 'META-INF/ASL2.0'
  62. }
  63. dexOptions {
  64. javaMaxHeapSize "4g"
  65. }
  66. compileOptions {
  67. sourceCompatibility JavaVersion.VERSION_1_8
  68. targetCompatibility JavaVersion.VERSION_1_8
  69. }
  70. }
  71.  
  72. repositories {
  73. mavenCentral()
  74. maven { url "https://jitpack.io" }
  75. maven { url 'https://maven.fabric.io/public' }
  76. google()
  77. }
  78.  
  79. apply plugin: 'com.amazonaws.appsync'
  80.  
  81. dependencies {
  82. implementation fileTree(include: ['*.jar'], dir: 'libs')
  83.  
  84. configurations {
  85. all*.exclude group: 'com.android.support', module: 'support-v13'
  86. }
  87. //google support library
  88. implementation 'com.android.support:appcompat-v7:28.0.0'
  89. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  90. implementation 'com.android.support:design:28.0.0'
  91. implementation 'com.android.support:cardview-v7:28.0.0'
  92. implementation 'com.android.support:recyclerview-v7:28.0.0'
  93. implementation 'com.android.support:support-v4:28.0.0'
  94. implementation 'com.android.support:support-vector-drawable:28.0.0'
  95. implementation 'com.android.support:support-compat:28.0.0'
  96.  
  97. //retrofit
  98. implementation 'com.squareup.retrofit2:retrofit:2.3.0'
  99. implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
  100. implementation 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
  101.  
  102. //okhttp
  103. implementation 'com.squareup.okhttp3:okhttp:3.12.1'
  104. implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.6.0'
  105. implementation 'com.squareup.okhttp3:logging-interceptor:3.12.1'
  106.  
  107. //rxjava & rxandroid
  108. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  109. implementation 'io.reactivex.rxjava2:rxjava:2.1.5'
  110.  
  111. //glide
  112. implementation 'com.github.bumptech.glide:glide:4.9.0'
  113. annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
  114. implementation 'jp.wasabeef:glide-transformations:2.0.1'
  115.  
  116. //ripple effect
  117. implementation 'com.balysv:material-ripple:1.0.2'
  118.  
  119. //circle image
  120. implementation 'com.mikhaellopez:circularimageview:3.0.2'
  121.  
  122. //butterknife
  123. implementation 'com.jakewharton:butterknife:8.8.1'
  124. implementation 'com.google.firebase:firebase-messaging:11.0.4'
  125. implementation 'com.firebase:firebase-jobdispatcher:0.6.0'
  126. annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
  127.  
  128. //weather
  129. implementation 'com.github.code-crusher:EasyWeather:v1.2'
  130.  
  131. //badge view
  132. implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
  133.  
  134. //multidex
  135. implementation 'com.android.support:multidex:1.0.2'
  136.  
  137. //log
  138. implementation 'com.jakewharton.timber:timber:4.3.0'
  139.  
  140. //testing
  141. testImplementation 'junit:junit:4.12'
  142. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  143. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  144.  
  145. //bottom_drawer
  146. implementation 'com.sothree.slidinguppanel:library:3.4.0'
  147.  
  148. //google map id.jababeka.service
  149. implementation 'com.google.android.gms:play-services-places:11.0.4'
  150.  
  151. //firebase
  152. implementation 'com.google.firebase:firebase-auth:11.0.4'
  153.  
  154. //google auth
  155. implementation 'com.google.android.gms:play-services-auth:11.0.4'
  156. implementation 'com.google.android.gms:play-services-plus:11.0.4'
  157.  
  158. //compress image
  159. implementation 'id.zelory:compressor:2.1.0'
  160.  
  161. //facebook auth
  162. implementation 'com.facebook.android:facebook-login:[4,5)'
  163.  
  164. //picasso
  165. implementation 'com.squareup.picasso:picasso:2.71828'
  166.  
  167. //jeroenmols videocapture id.jababeka.activity
  168. implementation 'com.github.jeroenmols:LandscapeVideoCamera:1.3.0'
  169.  
  170. //additional
  171. implementation 'com.github.shell-software:fab:1.1.2'
  172. implementation 'com.ogaclejapan.arclayout:library:1.0.1@aar'
  173. implementation 'com.vanniktech:emoji:0.3.0'
  174.  
  175. //giraffe compressor
  176. implementation 'com.github.tcking:giraffecompressor:0.1.4'
  177. implementation 'com.github.twinkle942910:monthyearpicker:0.0.1'
  178.  
  179. // implementation 'cn.pedant.sweetalert:library:1.3'
  180.  
  181. //exoplayer video player
  182. implementation 'com.google.android.exoplayer:exoplayer:2.9.1'
  183. implementation('com.crashlytics.sdk.android:crashlytics:2.9.0@aar') {
  184. transitive = true
  185. }
  186.  
  187. //qrcode
  188. implementation 'com.google.zxing:core:3.2.1'
  189. implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
  190. implementation 'org.greenrobot:eventbus:3.1.1'
  191.  
  192. implementation 'com.github.javiersantos:AppUpdater:2.7'
  193.  
  194. implementation 'com.wdullaer:materialdatetimepicker:3.2.0' // date & time picker
  195. implementation 'com.scottyab:rootbeer-lib:0.0.7'
  196.  
  197. //Base SDK
  198. implementation 'com.amazonaws:aws-android-sdk-core:2.13.2'
  199. //AppSync SDK
  200. implementation 'com.amazonaws:aws-android-sdk-appsync:2.7.10'
  201.  
  202. implementation 'com.joooonho:selectableroundedimageview:1.0.1'
  203.  
  204. implementation 'com.ebanx:swipe-button:0.8.3'
  205.  
  206.  
  207. dependencies {
  208. implementation ('com.alimuzaffar.lib:pinentryedittext:1.3.6') {
  209. exclude group: 'com.android.support', module: 'support-v4'
  210. exclude group: 'com.android.support', module: 'appcompat-v7'
  211. exclude group: 'com.android.support', module: 'support-v13'
  212. }
  213. }
  214. }
  215.  
  216.  
  217. apply plugin: 'com.google.gms.google-services'
  218. apply plugin: 'io.fabric'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement