Archinamon / android-gradle-aspectj

gradle plug-in adding supports of AspectJ into Android project
Apache License 2.0
365 stars 58 forks source link

Build failen in case of a lint error #52

Closed Viacheslav01 closed 7 years ago

Viacheslav01 commented 7 years ago

The following error stoped a build

"XXX-1.13.jar [error] can't determine implemented interfaces of missing type org.apache.http.client.methods.HttpPost when weaving type XXX$XXX when weaving classes when weaving when batch building BuildConfig[null] #Files=0 AopXmls=#0 [Xlint:cantFindType] (no source information available) [Xlint:cantFindType]"

It seems like an issue in the AJ compiler which could not find a type from an external lib used in my class.

Archinamon commented 7 years ago

May help adding in build.gradle:

aspectj {
    ajcArgs << '-Xlint:ignore'
}