Skip to content

Commit 07204f9

Browse files
fixes #13
1 parent 120559a commit 07204f9

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ requires org.cryptomator.siv;
6262

6363
Because BouncyCastle classes are shaded, this library only depends on `java.base`.
6464

65+
## Building
66+
67+
This is a Maven project. To build it, run `mvn clean install`.
68+
69+
Requires JDK 9+ at build time due to JPMS support.
70+
6571
## License
6672
Distributed under the MIT X Consortium license. See the LICENSE file for more info.
6773

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,27 @@
8181

8282
<build>
8383
<plugins>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-enforcer-plugin</artifactId>
87+
<version>3.0.0-M2</version>
88+
<executions>
89+
<execution>
90+
<id>enforce-java</id>
91+
<goals>
92+
<goal>enforce</goal>
93+
</goals>
94+
<configuration>
95+
<rules>
96+
<requireJavaVersion>
97+
<message>You need at least JDK 9 to build this project.</message>
98+
<version>[9,)</version>
99+
</requireJavaVersion>
100+
</rules>
101+
</configuration>
102+
</execution>
103+
</executions>
104+
</plugin>
84105
<plugin>
85106
<artifactId>maven-compiler-plugin</artifactId>
86107
<version>3.8.1</version>

0 commit comments

Comments
 (0)