Bump dagger from 2.16 to 2.22.1 and remove jsr250-api

It's included in dagger-compiler since version 2.12
772374b971

Signed-off-by: Unpublished <unpublished@gmx.net>
This commit is contained in:
Unpublished 2019-04-12 13:47:45 +02:00
parent 645aea5f99
commit 53d35904b6

View file

@ -118,6 +118,7 @@ repositories {
maven { url "https://dl.bintray.com/lukaville/maven" } //Needed for com.nbsp:library:1.02 in Material File Picker
}
final DAGGER_VERSION = '2.22.1'
final OKHTTP_VERSION = '3.12.2'
dependencies {
@ -167,9 +168,8 @@ dependencies {
implementation ('net.rdrei.android.dirchooser:library:3.0@aar') { transitive = true }
implementation 'com.google.dagger:dagger:2.16'
annotationProcessor "com.google.dagger:dagger-compiler:2.16"
compileOnly 'javax.annotation:jsr250-api:1.0'
implementation "com.google.dagger:dagger:${DAGGER_VERSION}"
annotationProcessor "com.google.dagger:dagger-compiler:${DAGGER_VERSION}"
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
// Because RxAndroid releases are few and far between, it is recommended you also
@ -196,7 +196,7 @@ dependencies {
testImplementation "com.squareup.okhttp3:mockwebserver:${OKHTTP_VERSION}"
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:2.16"
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:${DAGGER_VERSION}"
// https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver
//androidTestImplementation "com.squareup.okhttp3:mockwebserver:${OKHTTP_VERSION}"