Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21', '25' ]
java: [ '17', '21', '25' ]
steps:
- name: Checkout
uses: actions/checkout@v7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup java
uses: actions/setup-java@v6
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Setup Maven Central
uses: actions/setup-java@v6
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup java
uses: actions/setup-java@v6
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Setup Maven Central
uses: actions/setup-java@v6
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
Expand Down
45 changes: 3 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<java.version>17</java.version>
<kotlin.version>2.3.10</kotlin.version>
<kotlin-coroutines.version>1.11.0</kotlin-coroutines.version>
<jackson.version>2.22.4</jackson.version>
Expand Down Expand Up @@ -253,6 +253,7 @@
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
<configuration>
<jvmTarget>${java.version}</jvmTarget>
<args>
<arg>-Werror</arg>
</args>
Expand Down Expand Up @@ -282,21 +283,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.16.0</version>
<configuration>
<release>11</release>
<release>17</release>
<failOnWarning>true</failOnWarning>
</configuration>
<executions>
<execution>
<!-- With release, javac before Java 16 ignores the module descriptors of multi-release jars, so Java tests
compiled into the module can't see Jackson's annotations or java.beans. They compile on the class path
like the Kotlin tests instead -->
<!-- TODO compile the Java tests on the module path again in 15.0.0 -->
<id>default-testCompile</id>
<configuration>
<useModulePath>false</useModulePath>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
Expand Down Expand Up @@ -363,34 +352,6 @@
</build>

<profiles>
<profile>
<id>java17-tests</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>java17-test-compile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compileSourceRoots>
<compileSourceRoot>${project.basedir}/src/test/java17</compileSourceRoot>
</compileSourceRoots>
<release>17</release>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
Expand Down
Loading