Merge pull request #2519 from fabdslv/issue-2509

Provide dependency javax.annotation for android with Retrofit 2
This commit is contained in:
wing328 2016-04-09 18:42:40 +08:00
commit 15c2be2052
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 {

View File

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