Skip to content

Commit

Permalink
#47: Support minimum JDK of 11+ and minimum of Android API 33+
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Mar 3, 2024
1 parent c3c4d67 commit b75cda1
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@
<url>https://github.com/eclipse-ee4j/angus-activation</url>

<properties>
<spec.version>2.1</spec.version>
<spec.version>2.2</spec.version>
<spec.title>Jakarta Activation Specification</spec.title>
<activation-api.version>2.1.3</activation-api.version>
<angus-activation.version>${project.version}</angus-activation.version>
<graal.sdk.version>23.1.2</graal.sdk.version>

<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.testRelease>${maven.compiler.release}</maven.compiler.testRelease>

<angus-activation.javadoc.source>11</angus-activation.javadoc.source>
<angus-activation.javadoc.title>Angus Activation API documentation</angus-activation.javadoc.title>
<angus-activation.javadoc.header><![CDATA[<br>Angus Activation v${angus-activation.version}]]></angus-activation.javadoc.header>
Expand Down Expand Up @@ -274,35 +277,15 @@ Copyright &#169; 2019, ${current.year} Eclipse Foundation. All rights reserved.]
</execution>
</executions>
</plugin>
<!--
Use the JDK 9+ compiler but with -source 1.8 for all
but the module-info.java file.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>9</release>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
<showDeprecation>true</showDeprecation>
<createMissingPackageInfoClass>false</createMissingPackageInfoClass>
</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.codehaus.mojo</groupId>
Expand Down

0 comments on commit b75cda1

Please sign in to comment.