A solution that worked better for me than running things twice, was using Java 11, but telling Gradle to compile to Java 8.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
SonarScanner for gradle still depends from java compile? | 1 | 20 | November 22, 2024 | |
Scan Java 8 project with Java 11 Gradle scanner | 3 | 4650 | May 3, 2021 | |
[Info] Gradle 7.5 changes: mustRunAfter constraints no longer violated by finalizedBy dependencies | 5 | 1481 | October 31, 2022 | |
Compile and scan with another JDK version | 4 | 904 | August 5, 2024 | |
Running Java 8 with Gradle and SonarQube 8.1 | 1 | 964 | January 7, 2020 |