Permalink
Browse files

added error-prone compile target, update POM to 1.8

  • Loading branch information...
mimno committed Jul 8, 2018
1 parent af1fcb1 commit dbd6ee8f5bd3c78e247df2cf955aae6378259c50
Showing with 18 additions and 2 deletions.
  1. +16 −0 build.xml
  2. +2 −2 pom.xml
View
@@ -65,6 +65,22 @@
</javac>
</target>
<target
name="compile-ep"
depends="init"
description="Compile all the source files">
<javac destdir="build"
compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"
encoding="UTF-8" debug="true"
classpathref="project.classpath"
includeantruntime="false">
<src path="src"/>
<compilerclasspath>
<pathelement location="lib/errorprone.jar"/>
</compilerclasspath>
</javac>
</target>
<!--
Target: doc {build javadoc API documentation}
-->
View
@@ -37,8 +37,8 @@
</developer>
</developers>
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

0 comments on commit dbd6ee8

Please sign in to comment.