Skip to content

Commit cad56a9

Browse files
committed
fix more merge issues
1 parent a65dcaa commit cad56a9

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
# Normal build plus ZIP distribution and merged javadoc
245245
./gradlew -PuseCommitHashAsVersionName=true -PskipPrebuildLibraries=true \
246246
-x checkstyleMain -x checkstyleTest \
247-
build createZipDistribution mergedJavadoc
247+
build mergedJavadoc
248248
249249
if [ "${{ matrix.deploy }}" = "true" ];
250250
then

nge-examples/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,15 @@ java {
9090
toolchain {
9191
languageVersion = JavaLanguageVersion.of(21)
9292
}
93+
}
94+
95+
// Override global source/target and release for this module so Gradle
96+
// resolves JVM-21 variants (some platform artifacts require JVM 21+).
97+
java {
98+
sourceCompatibility = JavaVersion.VERSION_21
99+
targetCompatibility = JavaVersion.VERSION_21
100+
}
101+
102+
tasks.withType(JavaCompile).configureEach {
103+
options.release = 21
93104
}

0 commit comments

Comments
 (0)