| apply plugin: 'com.android.application' |
| apply plugin: 'kotlin-android' |
| |
| android { |
| compileSdkVersion 23 |
| buildToolsVersion "23.0.2" |
| useLibrary 'org.apache.http.legacy' |
| namespace "google.simpleapplication" |
| |
| defaultConfig { |
| applicationId "google.simpleapplication" |
| minSdkVersion 21 |
| targetSdkVersion 23 |
| versionCode 1 |
| versionName "1.0" |
| } |
| experimentalProperties["android.experimental.enableScreenshotTest"] = true |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| } |
| } |
| lintOptions { |
| abortOnError false |
| } |
| |
| buildFeatures { |
| buildConfig true |
| } |
| } |
| |
| dependencies { |
| api fileTree(dir: 'libs', include: ['*.jar']) |
| api 'com.android.support:appcompat-v7:+' |
| api 'com.google.guava:guava:19.0' |
| api 'com.android.support.constraint:constraint-layout:1.0.2' |
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" |
| testImplementation 'junit:junit:4.12' |
| androidTestImplementation 'com.android.support.test:runner:+' |
| androidTestImplementation 'com.android.support.test.espresso:espresso-core:+' |
| } |