Skip to content

Commit 61cf034

Browse files
committed
feat: GraalVM support
1 parent 338de9a commit 61cf034

13 files changed

+9417
-3
lines changed

.github/workflows/codeql-analysis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
4242

4343
steps:
44+
- name: Set up JDK
45+
uses: actions/setup-java@v2
46+
with:
47+
distribution: 'zulu'
48+
java-version: 17
49+
4450
- name: Checkout repository
4551
uses: actions/checkout@v4
4652

.github/workflows/maven-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
os: [ ubuntu, windows ]
68-
java: [ 11, 17 ]
68+
java: [ 17, 21 ]
6969
steps:
7070
- uses: actions/checkout@v4
7171
- name: Set up JDK

pom.xml

+28-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
</distributionManagement>
3333

3434
<properties>
35+
<spring.boot.version>3.3.3</spring.boot.version>
3536
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3637
<spotbugs-maven-plugin.version>4.8.6.1</spotbugs-maven-plugin.version>
3738
<spotbugs.version>4.8.6</spotbugs.version>
@@ -254,19 +255,32 @@
254255
java.net.http.*
255256
</ignores>
256257
</configuration>
257-
<executions>
258+
<!--<executions>
258259
<execution>
259260
<id>ensure-java-1.8-class-library</id>
260261
<phase>test</phase>
261262
<goals>
262263
<goal>check</goal>
263264
</goals>
264265
</execution>
265-
</executions>
266+
</executions>-->
266267
</plugin>
267268
</plugins>
268269
</pluginManagement>
269270
<plugins>
271+
<plugin>
272+
<groupId>org.springframework.boot</groupId>
273+
<artifactId>spring-boot-maven-plugin</artifactId>
274+
<version>${spring.boot.version}</version>
275+
<executions>
276+
<execution>
277+
<id>process-test-aot</id>
278+
<goals>
279+
<goal>process-test-aot</goal>
280+
</goals>
281+
</execution>
282+
</executions>
283+
</plugin>
270284
<plugin>
271285
<groupId>org.apache.maven.plugins</groupId>
272286
<artifactId>maven-site-plugin</artifactId>
@@ -497,6 +511,12 @@
497511
<version>${hamcrest.version}</version>
498512
<scope>test</scope>
499513
</dependency>
514+
<dependency>
515+
<groupId>org.springframework.boot</groupId>
516+
<artifactId>spring-boot-starter-test</artifactId>
517+
<version>${spring.boot.version}</version>
518+
<scope>test</scope>
519+
</dependency>
500520
<!-- This is needed in order to force junit4 and JTH tests to use newer hamcrest version -->
501521
<dependency>
502522
<groupId>org.hamcrest</groupId>
@@ -528,6 +548,12 @@
528548
<version>4.2.1</version>
529549
<scope>test</scope>
530550
</dependency>
551+
<dependency>
552+
<groupId>org.junit.vintage</groupId>
553+
<artifactId>junit-vintage-engine</artifactId>
554+
<version>5.10.2</version>
555+
<scope>test</scope>
556+
</dependency>
531557
<dependency>
532558
<groupId>com.fasterxml.jackson.core</groupId>
533559
<artifactId>jackson-databind</artifactId>

0 commit comments

Comments
 (0)