apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { applicationId "de.nicidienase.chaosflix" minSdkVersion rootProject.ext.minSDK targetSdkVersion rootProject.ext.targetSDK versionCode 5 versionName "0.2.0" multiDexEnabled true } buildTypes { debug { minifyEnabled false useProguard false } release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions { exclude 'META-INF/ASL2.0' exclude 'META-INF/LICENSE' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/notice.txt' } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } lintOptions { abortOnError false } dataBinding { enabled = true } } dependencies { implementation project(':common') implementation "com.android.support:support-v4:${rootProject.ext.supportLibraryVersion}" implementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibraryVersion}" implementation "com.android.support:cardview-v7:${rootProject.ext.supportLibraryVersion}" implementation 'com.android.support.constraint:constraint-layout:1.0.2' compile "com.android.support:design:${rootProject.ext.supportLibraryVersion}" compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.google.android.exoplayer:exoplayer:r2.5.2' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.jakewharton:butterknife:8.5.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' debugCompile 'com.facebook.stetho:stetho:1.4.2' debugCompile 'com.facebook.stetho:stetho-okhttp:1.4.2' debugCompile 'com.facebook.stetho:stetho-okhttp3:1.4.2' androidTestCompile('com.android.support.test:rules:0.5') { exclude module: 'support-annotations' } androidTestCompile('com.android.support.test:runner:0.5') { exclude module: 'support-annotations' } androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3' androidTestCompile 'org.hamcrest:hamcrest-library:1.3' androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.6.0' //androidTestCompile group: 'commons-io', name: 'commons-io', version: '2.4' testCompile 'org.mockito:mockito-core:1.10.19' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' } compile 'commons-io:commons-io:2.4' compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" } repositories { mavenCentral() }