Skip to content

Commit

Permalink
restored Java 9 build (google#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
inder123 authored Oct 3, 2019
1 parent 20dca86 commit c188138
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,32 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<jdkToolchain>
<version>9</version>
</jdkToolchain>
<release>9</release>
</configuration>
</execution>
<execution>
<id>base-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
<configuration>
<excludes>
<release>6</release>
<exclude>**/module-info.java</exclude>
</excludes>
<jdkToolchain>
<version>[1.5,9)</version>
</jdkToolchain>
<source>1.6</source>
<target>1.6</target>
</configuration>
Expand Down

0 comments on commit c188138

Please sign in to comment.