Skip to content

Commit

Permalink
Merge pull request #3335 from travis-ci/sonarcloud-jdk-17
Browse files Browse the repository at this point in the history
Update sonarcloud.md to specify JDK 17
  • Loading branch information
qasim-at-tci authored Aug 24, 2023
2 parents 304a101 + 725df1f commit 48c13b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions user/sonarcloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Please refer to the [SonarCloud documentation](https://sonarcloud.io/documentati

## Requirements

If a Java JRE/JDK is present within the build environment, it has to be at least Java 11 or higher.
If a Java JRE/JDK is present within the build environment, it has to be at least Java 17.

The default Travis dist
Java 11 is set as default within build environments, Add:
```yaml
dist: xenial
jdk: openjdk17
```
{: data-file=".travis.yml"}
includes Java 11 by default.
to use Java 17 JRE/JDK as default.
## Inspecting code with the SonarQube Scanner
Expand Down

0 comments on commit 48c13b9

Please sign in to comment.