1apply plugin: 'com.android.application'
2apply plugin: 'kotlin-android'
3
4android {
5    compileSdkVersion 28
6
7    defaultConfig {
8        applicationId 'com.example.android.pdfrendererbasic'
9        minSdkVersion 21
10        targetSdkVersion 28
11        versionCode 1
12        versionName '1.0'
13        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
14    }
15
16    testOptions {
17        unitTests {
18            returnDefaultValues = true
19            includeAndroidResources = true
20        }
21    }
22}
23
24dependencies {
25    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
26    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0'
27
28    implementation 'androidx.appcompat:appcompat:1.0.2'
29
30    def lifecycle_version = '2.0.0'
31    implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
32    androidTestImplementation "androidx.arch.core:core-testing:$lifecycle_version"
33
34    testImplementation 'com.google.truth:truth:0.42'
35    testImplementation 'androidx.test:core:1.1.0'
36    testImplementation 'androidx.test:runner:1.1.1'
37    androidTestImplementation 'androidx.test.ext:truth:1.1.0'
38    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
39}
40