Skip to content

Commit 0dc3862

Browse files
committed
Run GraalVmStarterTests against GraalVM CE 21
Later versions no longer require `--initialize-at-build-time`
1 parent 96dcec8 commit 0dc3862

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
distribution: graalvm-community
3737
version: 'latest'
38-
java-version: '25'
38+
java-version: '21'
3939
- name: Build
4040
uses: ./.github/actions/main-build
4141
with:

platform-tooling-support-tests/projects/graalvm-starter/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ dependencies {
1313
testRuntimeOnly("org.junit.platform:junit-platform-reporting:$junitVersion")
1414
}
1515

16+
tasks.withType<JavaCompile>().configureEach {
17+
options.release = 21
18+
}
19+
1620
tasks.test {
1721
useJUnitPlatform {
1822
includeEngines("junit-platform-suite")
@@ -35,9 +39,6 @@ val initializeAtBuildTime = mapOf(
3539
"org.junit.platform.launcher.core.DiscoveryIssueNotifier\$1",
3640
"org.junit.platform.launcher.core.HierarchicalOutputDirectoryCreator",
3741
),
38-
"6.0" to listOf(
39-
"org.junit.platform.commons.logging.LoggerFactory\$DelegatingLogger",
40-
),
4142
)
4243

4344
graalvmNative {

0 commit comments

Comments
 (0)