Skip to content

Commit

Permalink
Support minimum JDK of 11+ and minimum of Android API 33+ jakartaee#709
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Feb 29, 2024
1 parent aa1dc71 commit 874e2bc
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,27 +323,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>9</release>
<release>11</release>
<createMissingPackageInfoClass>false</createMissingPackageInfoClass>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
<showWarnings>true</showWarnings>
</configuration>
<executions>
<execution>
<id>base-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>8</release>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
Expand Down Expand Up @@ -379,7 +365,7 @@
osgi.serviceloader;filter:="(osgi.serviceloader=jakarta.mail.util.StreamProvider)";
osgi.serviceloader="jakarta.mail.util.StreamProvider";
cardinality:=multiple;resolution:=optional,
osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"
]]>
</Require-Capability>
</instructions>
Expand Down

0 comments on commit 874e2bc

Please sign in to comment.