Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. apply plugin: 'kotlin-android'
  4.  
  5. apply plugin: 'kotlin-android-extensions'
  6.  
  7. apply plugin: 'kotlin-kapt'
  8.  
  9. android {
  10. compileSdkVersion 28
  11. buildToolsVersion "29.0.0"
  12. defaultConfig {
  13. applicationId "me.alhaz.tutorial.architecturecomponent"
  14. minSdkVersion 21
  15. targetSdkVersion 28
  16. versionCode 1
  17. versionName "1.0"
  18. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. }
  27.  
  28. dependencies {
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  31. implementation "androidx.appcompat:appcompat:$appCompatVersion"
  32. implementation "androidx.core:core-ktx:$coreKTXVersion"
  33. implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
  34. implementation "androidx.annotation:annotation:$androidXAnnotations"
  35.  
  36. // RecycleView
  37. implementation "com.google.android.material:material:$materialVersion"
  38. implementation "androidx.recyclerview:recyclerview:$recyclerViewVersion"
  39.  
  40. // Glide
  41. implementation("com.github.bumptech.glide:glide:$glideVersion") {
  42. exclude group: "androidx"
  43. }
  44. implementation 'androidx.appcompat:appcompat:1.1.0'
  45. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  46. kapt "com.github.bumptech.glide:compiler:$glideVersion"
  47.  
  48. // GSON
  49. implementation "com.google.code.gson:gson:$gsonVersion"
  50.  
  51. androidTestImplementation "junit:junit:$junitVersion"
  52. androidTestImplementation "androidx.test:runner:$runnerVersion"
  53. androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
  54.  
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement