Store/app/build.gradle

61 lines
1.9 KiB
Groovy
Raw Normal View History

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 {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools
2016-11-29 18:59:48 +00:00
defaultConfig {
applicationId "com.nytimes.android.sample"
minSdkVersion 19
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
testCompile libraries.junit
2017-01-04 19:17:53 +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
annotationProcessor libraries.immutablesValue // <-- for annotation processor
provided libraries.immutablesValue // <-- for annotation API
provided libraries.immutablesGson // for annotations
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
}