| apply plugin: 'com.android.application' |
| apply plugin: 'kotlin-android' |
| |
| android { |
| compileSdkVersion 28 |
| |
| defaultConfig { |
| applicationId 'com.example.android.pdfrendererbasic' |
| minSdkVersion 21 |
| targetSdkVersion 28 |
| versionCode 1 |
| versionName '1.0' |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| |
| testOptions { |
| unitTests { |
| returnDefaultValues = true |
| includeAndroidResources = true |
| } |
| } |
| } |
| |
| dependencies { |
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
| implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0' |
| |
| implementation 'androidx.appcompat:appcompat:1.0.2' |
| |
| def lifecycle_version = '2.0.0' |
| implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" |
| androidTestImplementation "androidx.arch.core:core-testing:$lifecycle_version" |
| |
| testImplementation 'com.google.truth:truth:0.42' |
| testImplementation 'androidx.test:core:1.1.0' |
| testImplementation 'androidx.test:runner:1.1.1' |
| androidTestImplementation 'androidx.test.ext:truth:1.1.0' |
| androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' |
| } |