Skip to content

Commit

Permalink
Use source=7, target=1.7 for target Java version
Browse files Browse the repository at this point in the history
Without this change the build otherwise emits the following warnings:

```
[javac] warning: [options] source value 6 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
```

#243 (comment)
also seems to indicate that in Java 12, source=6/target=1.6 will
apparently become an error case rather than a warning case.

Thanks @innovimax
  • Loading branch information
sideshowbarker committed Dec 11, 2018
1 parent 76a96b6 commit 42941aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<property name="build.dir" value="${{basedir}}/build"/>
<property name="doc.dir" value="${{basedir}}/doc"/>
<property name="javacc.dir" value="${{lib.dir}}"/>
<property name="ant.build.javac.source" value="6"/>
<property name="ant.build.javac.target" value="1.6"/>
<property name="ant.build.javac.source" value="7"/>
<property name="ant.build.javac.target" value="1.7"/>
<taskdef name="testng" classname="org.testng.TestNGAntTask">
<classpath>
<pathelement location="${{lib.dir}}/testng.jar"/>
Expand Down

0 comments on commit 42941aa

Please sign in to comment.