1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion 28 5 6 defaultConfig { 7 minSdkVersion 26 8 targetSdkVersion 28 9 versionCode 1 10 versionName "1.0" 11 12 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 13 14 } 15 16 buildTypes { 17 release { 18 minifyEnabled true 19 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 } 21 debug { 22 minifyEnabled false 23 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 24 } 25 } 26 compileOptions { 27 sourceCompatibility JavaVersion.VERSION_1_8 28 targetCompatibility JavaVersion.VERSION_1_8 29 } 30} 31 32dependencies { 33 implementation 'com.android.support:appcompat-v7:28.0.0-alpha1' 34 implementation "android.arch.persistence.room:runtime:1.0.0" 35 annotationProcessor 'android.arch.persistence.room:compiler:1.0.0' 36 implementation fileTree(dir: 'libs', include: ['*.jar']) 37 implementation 'com.android.support:design:28.0.0-alpha1' 38 implementation 'com.android.support.constraint:constraint-layout:1.0.2' 39 implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.2' 40 implementation 'com.squareup.retrofit2:retrofit:2.3.0' 41 implementation group: 'com.google.guava', name: 'guava', version: '22.0-android' 42 implementation "com.android.support.test.espresso:espresso-idling-resource:3.0.1" 43 implementation "com.google.code.findbugs:jsr305:3.0.2" 44 45 androidTestImplementation "junit:junit:4.12" 46 androidTestImplementation ("com.android.support.test.espresso:espresso-core:3.0.1") 47 androidTestImplementation "com.android.support.test.espresso:espresso-contrib:3.0.1" 48 androidTestImplementation "com.android.support.test.espresso:espresso-intents:3.0.1" 49 androidTestImplementation "com.android.support.test.espresso.idling:idling-concurrent:3.0.1" 50 51} 52