Updated gradle to 2.2 and also upgraded all dependencies. Needed to add checker framework in order to have JSR-308 annotations available.