Advertisement
Guest User

Untitled

a guest
May 21st, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4.  
  5. android {
  6. compileSdkVersion 27
  7. defaultConfig {
  8. applicationId "io.explod.android.jetpacked"
  9. minSdkVersion 21
  10. targetSdkVersion 27
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22.  
  23. dependencies {
  24. def room_version = "2.0.0-alpha1"
  25. def support_lib_version = "27.1.1"
  26.  
  27. implementation fileTree(include: ['*.jar'], dir: 'libs')
  28.  
  29. // Kotlin
  30. implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
  31.  
  32. // Support library
  33. implementation "com.android.support:appcompat-v7:$support_lib_version"
  34. implementation 'com.android.support.constraint:constraint-layout:1.1.0'
  35. implementation "com.android.support:recyclerview-v7:$support_lib_version"
  36.  
  37. implementation 'com.android.support:appcompat-v7:27.1.1'
  38. implementation 'com.android.support:design:27.1.1'
  39. implementation 'com.android.support:support-v4:27.1.1'
  40.  
  41.  
  42. // RxJava
  43. implementation 'io.reactivex.rxjava2:rxjava:2.1.9'
  44. implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
  45.  
  46. // Room + RxJava
  47. implementation "androidx.room:room-runtime:$room_version"
  48. annotationProcessor "androidx.room:room-compiler:$room_version"
  49. implementation "androidx.room:room-rxjava2:$room_version"
  50.  
  51. // TESTING
  52.  
  53. // Room
  54. testImplementation "androidx.room:room-testing:$room_version"
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement