Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion 27
- defaultConfig {
- applicationId "io.explod.android.jetpacked"
- minSdkVersion 21
- targetSdkVersion 27
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- def room_version = "2.0.0-alpha1"
- def support_lib_version = "27.1.1"
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- // Kotlin
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
- // Support library
- implementation "com.android.support:appcompat-v7:$support_lib_version"
- implementation 'com.android.support.constraint:constraint-layout:1.1.0'
- implementation "com.android.support:recyclerview-v7:$support_lib_version"
- implementation 'com.android.support:appcompat-v7:27.1.1'
- implementation 'com.android.support:design:27.1.1'
- implementation 'com.android.support:support-v4:27.1.1'
- // RxJava
- implementation 'io.reactivex.rxjava2:rxjava:2.1.9'
- implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
- // Room + RxJava
- implementation "androidx.room:room-runtime:$room_version"
- annotationProcessor "androidx.room:room-compiler:$room_version"
- implementation "androidx.room:room-rxjava2:$room_version"
- // TESTING
- // Room
- testImplementation "androidx.room:room-testing:$room_version"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement