1apply plugin: 'com.android.application'
2apply plugin: 'kotlin-android'
3
4android {
5    compileSdkVersion 'android-Q'
6    defaultConfig {
7        applicationId "com.example.android.bubbles"
8        minSdkVersion 'Q'
9        targetSdkVersion 'Q'
10        versionCode 1
11        versionName '1.0'
12        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
13    }
14    buildTypes {
15        release {
16            minifyEnabled false
17            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
18        }
19    }
20}
21
22dependencies {
23    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
24
25    implementation 'androidx.appcompat:appcompat:1.0.2'
26    implementation 'androidx.fragment:fragment-ktx:1.0.0'
27    implementation 'androidx.core:core-ktx:1.0.1'
28    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
29    implementation 'androidx.recyclerview:recyclerview:1.0.0'
30
31    def lifecycle_version = '2.0.0'
32    implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
33    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
34    testImplementation "androidx.arch.core:core-testing:$lifecycle_version"
35
36    implementation 'com.google.android.material:material:1.0.0'
37
38    implementation 'com.github.bumptech.glide:glide:4.9.0'
39
40    testImplementation 'junit:junit:4.12'
41    androidTestImplementation 'androidx.test.ext:junit:1.1.0'
42    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
43
44    testImplementation 'org.robolectric:robolectric:4.2'
45    testImplementation "androidx.arch.core:core-testing:$lifecycle_version"
46    testImplementation 'androidx.test.ext:junit:1.1.0'
47    testImplementation 'androidx.test.espresso:espresso-core:3.1.1'
48    testImplementation 'androidx.test.ext:truth:1.1.0'
49    testImplementation 'com.google.truth:truth:0.42'
50}
51