Commit 60a8252
committed
Use the bootRun javaLauncher in fork task
Verified in a new Spring initializer project (plus springdoc and plugin)
for both Java and Kotlin.
For Java, choose Java 24 as toolchain version in build.gradle but configure Gradle JVM
to Java 23 or earlier.
For Kotlin, use Java 21 as bytecode version, but for illustrative purposes, downgrade
Gradle JVM to Java 19 for example.
LinkageError, java.lang.UnsupportedClassVersionError occurs in forkedSpringBootRun task
in both cases (but with different encountered versus supported class file versions)1 parent 0b20fe3 commit 60a8252
File tree
1 file changed
+5
-0
lines changed- src/main/kotlin/org/springdoc/openapi/gradle/plugin
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
0 commit comments