Provide dependency to javax.annotation.Generated for android with Retrofit 2

Fix #2509
This commit is contained in:
Fabien Da Silva 2016-04-07 17:38:10 +02:00
parent 155458012e
commit efd68445db
2 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,10 @@ if(hasProperty('target') && target == 'android') {
} }
} }
} }
dependencies {
provided 'javax.annotation:jsr250-api:1.0'
}
} }
afterEvaluate { afterEvaluate {

View File

@ -46,6 +46,10 @@ if(hasProperty('target') && target == 'android') {
} }
} }
} }
dependencies {
provided 'javax.annotation:jsr250-api:1.0'
}
} }
afterEvaluate { afterEvaluate {