Home | History | Annotate | Download | only in Application
      1 apply plugin: 'com.android.application'
      2 apply plugin: 'kotlin-android'
      3 apply plugin: 'kotlin-android-extensions'
      4 
      5 android {
      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 "android.support.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 
     23 dependencies {
     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.android.support.test.espresso:espresso-contrib:$rootProject.ext.espressoVersion"
     30     androidTestImplementation "com.android.support.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