2016-11-29 18:59:48 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2017-01-04 19:17:53 +00:00
|
|
|
apply plugin: 'me.tatarka.retrolambda'
|
|
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
2016-11-29 18:59:48 +00:00
|
|
|
|
|
|
|
android {
|
2017-01-29 01:52:55 +00:00
|
|
|
compileSdkVersion versions.compileSdk
|
|
|
|
buildToolsVersion versions.buildTools
|
2016-11-29 18:59:48 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.nytimes.android.sample"
|
|
|
|
minSdkVersion 19
|
2017-01-29 01:52:55 +00:00
|
|
|
compileSdkVersion versions.compileSdk
|
|
|
|
targetSdkVersion versions.targetSdk
|
2016-11-29 18:59:48 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2017-01-04 19:17:53 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2016-11-29 18:59:48 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2017-01-04 19:17:53 +00:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
disable 'InvalidPackage'
|
|
|
|
}
|
2016-11-29 18:59:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-01-04 19:17:53 +00:00
|
|
|
|
2017-01-29 01:52:55 +00:00
|
|
|
testCompile libraries.junit
|
2017-01-04 19:17:53 +00:00
|
|
|
|
2017-01-29 01:52:55 +00:00
|
|
|
compile libraries.supportRecyclerView
|
|
|
|
compile libraries.supportAppCompat
|
|
|
|
compile libraries.supportCardView
|
|
|
|
compile libraries.supportDesign
|
|
|
|
compile libraries.retrofit
|
|
|
|
compile libraries.retrofitGsonConverter
|
|
|
|
compile libraries.retrofitRx
|
|
|
|
compile libraries.picasso
|
|
|
|
compile libraries.guava
|
2017-03-23 11:19:20 +00:00
|
|
|
annotationProcessor libraries.immutablesValue // <-- for annotation processor
|
2017-01-29 01:52:55 +00:00
|
|
|
provided libraries.immutablesValue // <-- for annotation API
|
|
|
|
provided libraries.immutablesGson // for annotations
|
2017-03-13 22:38:50 +00:00
|
|
|
compile 'com.nytimes.android:store:2.0.2'
|
|
|
|
compile'com.nytimes.android:cache:2.0.2'
|
|
|
|
compile'com.nytimes.android:middleware:2.0.2'
|
|
|
|
compile 'com.nytimes.android:filesystem:2.0.2'
|
|
|
|
//compile project(path: ':store')
|
|
|
|
//compile project(path: ':cache')
|
|
|
|
//compile project(path: ':middleware')
|
|
|
|
//compile project(path: ':filesystem')
|
2017-01-04 19:17:53 +00:00
|
|
|
retrolambdaConfig libraries.retrolambda
|
|
|
|
compile libraries.rxAndroid
|
|
|
|
|
2016-11-29 18:59:48 +00:00
|
|
|
}
|