Skip to content

Commit

Permalink
Document Java 11 configuration (#22)
Browse files Browse the repository at this point in the history
For those wanting to use the latest stable release.
  • Loading branch information
freemanjp authored Jul 31, 2019
1 parent a5d60ed commit acbbc8d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,25 @@ For Kotlin projects add the following to your POM:
</project>
```

### Configuration

#### Java 11

Java 8 is required by default. To compile with Java 11 add the following configuration to your POM:

```xml
<project>
...
<properties>
...
<java.below-version>12</java.below-version>
<java.version>11</java.version>
...
</properties>
...
</project>
```

## Features

### Reproducible builds
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<guava.version>28.0-jre</guava.version>
<jacoco-maven-plugin.version>0.8.4</jacoco-maven-plugin.version>
<jacoco.file.minimum-coverage-ratio>0.75</jacoco.file.minimum-coverage-ratio>
<java.below-version>1.9</java.below-version>
<java.below-version>9</java.below-version>
<java.version>1.8</java.version>
<jdepend-maven-plugin.version>2.0</jdepend-maven-plugin.version>
<jib-maven-plugin.version>1.4.0</jib-maven-plugin.version>
Expand Down

0 comments on commit acbbc8d

Please sign in to comment.