amaembo / streamex

Enhancing Java Stream API
Apache License 2.0
2.18k stars 249 forks source link

Fix building with JDK 16 #247

Closed Thihup closed 2 years ago

Thihup commented 3 years ago

In JDK 13, the option --no-module-directories was removed from Javadoc, so building with a current JDK, fails the build with Exit code: 1 - javadoc: error - invalid flag: --no-module-directories.

More info: https://bugs.openjdk.java.net/browse/JDK-8215582

amaembo commented 2 years ago

I updated pom.xml to avoid this option and tested that it's possible to build using Java 17. Still, reference builds are created using Java 11.