apply plugin: 'com.android.application' apply plugin: 'me.tatarka.retrolambda' apply plugin: 'com.getkeepsafe.dexcount' apply plugin: 'com.neenbedankt.android-apt' android { compileSdkVersion 24 buildToolsVersion "24.0.2" defaultConfig { applicationId "com.nytimes.android.sample" minSdkVersion 19 targetSdkVersion 24 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false disable 'InvalidPackage' } } dependencies { final RETROFIT_VERSION = '2.0.0-beta3' androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:recyclerview-v7:24.0.0' compile 'com.android.support:appcompat-v7:24.0.0' compile 'com.android.support:cardview-v7:24.0.0' compile 'com.android.support:design:24.0.0' compile "com.squareup.retrofit2:retrofit:$RETROFIT_VERSION" compile "com.squareup.retrofit2:converter-gson:$RETROFIT_VERSION" compile "com.squareup.retrofit2:adapter-rxjava:$RETROFIT_VERSION" compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.google.guava:guava:19.0' apt "org.immutables:value:2.1.16" // <-- for annotation processor provided "org.immutables:value:2.1.16" // <-- for annotation API provided "org.immutables:gson:2.1.16" // for annotations testCompile 'junit:junit:4.12' // compile project(path: ':store') // compile project(path: ':middleware') // compile project(path: ':cache') // compile project(path: ':filesystem') compile 'com.nytimes.android:store:1.0.4' compile'com.nytimes.android:middleware:1.0.4' compile 'com.nytimes.android:filesystem:1.0.4' retrolambdaConfig libraries.retrolambda compile libraries.rxAndroid }