Store/app/build.gradle

64 lines
2.1 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'
apply plugin: 'com.neenbedankt.android-apt'
2016-11-29 18:59:48 +00:00
android {
compileSdkVersion 24
2017-01-05 13:29:26 +00:00
buildToolsVersion "24.0.2"
2016-11-29 18:59:48 +00:00
defaultConfig {
applicationId "com.nytimes.android.sample"
minSdkVersion 19
targetSdkVersion 24
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
final RETROFIT_VERSION = '2.0.0-beta3'
2016-11-29 18:59:48 +00:00
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
2017-01-04 19:17:53 +00:00
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
2016-11-29 18:59:48 +00:00
testCompile 'junit:junit:4.12'
2017-01-04 19:17:53 +00:00
// compile project(path: ':store')
// compile project(path: ':cache')
2017-01-17 17:37:15 +00:00
compile 'com.nytimes.android:store:1.0.3'
compile 'com.nytimes.android:middleware:1.0.3'
compile 'com.nytimes.android:filesystem:1.0.3'
2017-01-04 19:17:53 +00:00
retrolambdaConfig libraries.retrolambda
compile libraries.rxAndroid
2016-11-29 18:59:48 +00:00
}