diff --git a/.github/workflows/java.yaml b/.github/workflows/java.yaml index eeb2088425..5d7f824d11 100644 --- a/.github/workflows/java.yaml +++ b/.github/workflows/java.yaml @@ -23,21 +23,21 @@ jobs: - name: Run tests run: make test-java - sonarqube: - name: SonarQube - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: gradle/gradle-build-action@v2 - with: - gradle-version: 7.1.1 - - name: Run tests - run: make test-java - - - name: Run sonarqube - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: (cd java && gradle sonarqube) +# sonarqube: +# name: SonarQube +# runs-on: ubuntu-20.04 +# steps: +# - uses: actions/checkout@v2 +# with: +# fetch-depth: 0 +# - uses: gradle/gradle-build-action@v2 +# with: +# gradle-version: 7.1.1 +# - name: Run tests +# run: make test-java +# +# - name: Run sonarqube +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} +# run: (cd java && gradle sonarqube) diff --git a/java/build.gradle b/java/build.gradle index ccd7696b4e..1cd807004c 100644 --- a/java/build.gradle +++ b/java/build.gradle @@ -1,6 +1,6 @@ plugins { id 'jacoco' - id "org.sonarqube" version "3.3" + // id "org.sonarqube" version "3.3" // spotless pre v5 used to allow gradle 4 on ubuntu-latest id "com.diffplug.gradle.spotless" version "4.5.1" id 'maven-publish' @@ -60,15 +60,15 @@ jacocoTestReport { } } -sonarqube { - properties { - property 'sonar.projectName', "libsbp-java" - property "sonar.projectKey", "swift-nav_libsbp" - property "sonar.organization", "swift-nav" - property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml' - property "sonar.host.url", "https://sonarcloud.io" - } -} +// sonarqube { +// properties { +// property 'sonar.projectName', "libsbp-java" +// property "sonar.projectKey", "swift-nav_libsbp" +// property "sonar.organization", "swift-nav" +// property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml' +// property "sonar.host.url", "https://sonarcloud.io" +// } +// } spotless { java {