Skip to content

Commit 4d8d4a0

Browse files
committed
Require Java 8 (1.8)
Signed-off-by: David Smiley <[email protected]>
1 parent 052cd12 commit 4d8d4a0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For more information on the formats supported, see [FORMATS.md](FORMATS.md).
5151

5252
## Dependencies
5353

54-
Spatial4j runs on Java -- version 1.7 or better, though is only really tested on 1.8. Otherwise, all dependencies listed in the maven [pom.xml](pom.xml) are either marked optional or are for testing. The optional dependencies are:
54+
Spatial4j runs on Java 8 (v1.8) or better. Otherwise, all dependencies listed in the maven [pom.xml](pom.xml) are either marked optional or are for testing. The optional dependencies are:
5555
* [JTS](https://github.com/locationtech/jts): You need JTS if you use polygons, or obviously if you use any of the classes prefixed with "Jts".
5656
* [Noggit](https://github.com/yonik/noggit): The Noggit JSON parsing library is only needed for GeoJSON parsing (not required for writing).
5757
* [Jackson-databind](https://github.com/FasterXML/jackson-databind): If you wish to use Spatial4j's Jackson-databind feature to read/write shapes.

pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
<properties>
9191
<!-- this magic system property is honored by many plugins: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
9292
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
93+
<maven.compiler.source>1.8</maven.compiler.source>
94+
<maven.compiler.target>1.8</maven.compiler.target>
9395
</properties>
9496

9597
<!-- To check for new plugins and dependencies:
@@ -197,8 +199,6 @@
197199
<groupId>org.apache.maven.plugins</groupId>
198200
<artifactId>maven-compiler-plugin</artifactId>
199201
<configuration>
200-
<source>1.7</source>
201-
<target>1.7</target>
202202
<optimize>true</optimize>
203203
<showDeprecation>true</showDeprecation>
204204
</configuration>
@@ -233,7 +233,6 @@
233233
The checker simply passes by default and only prints a warning.
234234
-->
235235
<failOnUnsupportedJava>false</failOnUnsupportedJava>
236-
<targetVersion>1.7</targetVersion>
237236
</configuration>
238237
</plugin>
239238

@@ -344,7 +343,6 @@
344343
<configuration>
345344
<linkXRef>true</linkXRef>
346345
<minimumTokens>100</minimumTokens>
347-
<targetJdk>1.7</targetJdk>
348346
</configuration>
349347
</plugin>
350348

0 commit comments

Comments
 (0)