Commit 1bfc5db
committed
Upgrade Gradle wrapper from 7.6 to 8.5 for Java 21 support
Gradle 7.6 supports Java up to version 19. Building Fast-DDS-Gen on
systems where Java 21 is the default JDK fails with:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_'
Unsupported class file major version 65
Class file major version 65 corresponds to Java 21. Gradle 8.5
introduced official Java 21 support.
This change upgrades the Gradle wrapper to 8.5, which supports
Java 11 through 21. The build itself continues to compile sources to
Java 8 bytecode (sourceCompatibility/targetCompatibility = 1.8 in
build.gradle), so the produced fastddsgen.jar remains compatible with
any Java 8+ runtime.
Note: this change depends on eProsima/IDL-Parser#192, which replaces
the deprecated Jar.classifier property (removed in Gradle 7) with
archiveClassifier. Without that fix, the IDL-Parser submodule build
fails under Gradle 7+.
Signed-off-by: Tuguberk <akbulut.tugberk@gmail.com>1 parent 87b0e13 commit 1bfc5db
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments