Skip to content

Commit

Permalink
build: change sonar runner to java 17 (#2513)
Browse files Browse the repository at this point in the history
* build: change sonar runner to java 17

* Update dependencies.gradle

* Update dependencies.gradle
  • Loading branch information
strehle authored Oct 4, 2023
1 parent ec80392 commit bf51726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'liberica'
java-version: '11'
java-version: '17'
cache: 'gradle'
- name: Analyze with SonarCloud
env:
Expand All @@ -28,5 +28,5 @@ jobs:
if: env.SONAR_TOKEN != ''
run: >-
./gradlew --no-daemon -Dspring.profiles.active=default,hsqldb -DfailOnPassedAfterRetry=false --no-daemon test jacocoTestReport || true;
./gradlew --no-daemon sonarqube;
./gradlew --no-daemon sonar;
./gradlew --no-daemon jacocoTestReport;
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ libraries.cargoGradlePlugin = "com.bmuschko:gradle-cargo-plugin:2.9.0"
libraries.springBootGradlePlugin = "org.springframework.boot:spring-boot-gradle-plugin:${versions.springBootVersion}"
libraries.springDependencyMangementGradlePlugin = "io.spring.gradle:dependency-management-plugin"
libraries.gradleJcocoPlugin = "org.barfuin.gradle.jacocolog:gradle-jacoco-log:3.1.0"
libraries.sonarqubePlugin = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.3.1.3277"
libraries.sonarqubePlugin = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.4.1.3373"

0 comments on commit bf51726

Please sign in to comment.