Add error-prone compiler. (#259)

* Fix error-prone warning

* Add error-prone compiler.

* Suppress warning about calling getClass() on annotation.
This commit is contained in:
Jake Wharton
2017-02-14 22:28:24 -05:00
committed by Jesse Wilson
parent b6ebe53ffb
commit 05b0a46961
4 changed files with 22 additions and 3 deletions

View File

@@ -1,9 +1,13 @@
language: java
jdk:
- oraclejdk7
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer # Updates JDK 8 to the latest available.
after_success:
- .buildscript/deploy_snapshot.sh