Skip to content

Commit

Permalink
Add error-prone compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Feb 14, 2017
1 parent 1f4082c commit 2228c6d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,7 +1,6 @@
language: java

jdk:
- oraclejdk7
- oraclejdk8

after_success:
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Expand Up @@ -70,9 +70,23 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8</version>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.0.15</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit 2228c6d

Please sign in to comment.