1apply plugin: 'com.android.application' 2apply plugin: 'kotlin-android' 3apply plugin: 'kotlin-android-extensions' 4 5android { 6 compileSdkVersion rootProject.ext.compileSdkVersion 7 defaultConfig { 8 applicationId "com.example.android.pdfrendererbasic" 9 minSdkVersion rootProject.ext.minSdkVersion 10 targetSdkVersion rootProject.ext.targetSdkVersion 11 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 12 versionCode 1 13 versionName "1.0" 14 } 15 buildTypes { 16 release { 17 minifyEnabled false 18 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 19 } 20 } 21} 22 23dependencies { 24 implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion" 25 implementation "com.android.support:support-v4:$rootProject.ext.supportLibVersion" 26 implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$rootProject.ext.kotlinVersion" 27 28 // Testing dependencies 29 androidTestImplementation "com.androidx.test.espresso:espresso-contrib:$rootProject.ext.espressoVersion" 30 androidTestImplementation "com.androidx.test.espresso:espresso-core:$rootProject.ext.espressoVersion" 31 androidTestCompile "com.android.support:support-annotations:$rootProject.ext.supportLibVersion" 32 androidTestCompile "com.android.support.test:runner:$rootProject.ext.supportTestVersion" 33 androidTestCompile "com.android.support.test:rules:$rootProject.ext.supportTestVersion" 34 testImplementation "junit:junit:$rootProject.ext.junitVersion" 35} 36