Skip to content

Instantly share code, notes, and snippets.

@talhahasanzia
Last active June 5, 2017 08:12
Show Gist options
  • Save talhahasanzia/eee3309daad129d774ed859251a3a9ca to your computer and use it in GitHub Desktop.
Save talhahasanzia/eee3309daad129d774ed859251a3a9ca to your computer and use it in GitHub Desktop.
APIs inclusion.
// tests
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.10.19"
//rest interactions retrofit
compile "com.squareup.retrofit2:retrofit:2.3.0"
//JSON Parsing
compile "com.squareup.retrofit2:converter-gson:2.3.0"
compile 'com.google.code.gson:gson:2.6.2'
//http logging
compile 'com.squareup.okhttp3:logging-interceptor:3.4.2'
//injection
compile 'com.google.dagger:dagger:2.9'
annotationProcessor 'com.google.dagger:dagger-compiler:2.9'
provided 'javax.annotation:jsr250-api:1.0'
// rxjava reactive
compile 'io.reactivex.rxjava2:rxjava:2.1.0'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
// Butterknife om-nom-omn
compile 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
// Google Play maps services
compile 'com.google.android.gms:play-services:10.2.6'
compile 'com.google.android.gms:play-services-maps:10.2.6'
@talhahasanzia
Copy link
Author

Support libraries should not be included when target SDK is above 3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment