Skip to content

Commit

Permalink
[#228] use multi-release JARs
Browse files Browse the repository at this point in the history
Really fixes #228.
This will also show the NPE everyone is talking about in #91.
  • Loading branch information
bmarwell committed Feb 8, 2024
1 parent 9247ccf commit ed500cb
Show file tree
Hide file tree
Showing 7 changed files with 660 additions and 527 deletions.
24 changes: 24 additions & 0 deletions core/pom.xml
Expand Up @@ -67,6 +67,30 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>compile-java9</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>11</release>
<compileSourceRoots>${project.basedir}/src/main/java11</compileSourceRoots>
<multiReleaseOutput>true</multiReleaseOutput>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<release>11</release>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit ed500cb

Please sign in to comment.