From 6e0dc8a8e40d5187408a4839fe186add34c8e1fe Mon Sep 17 00:00:00 2001 From: amvanbaren Date: Thu, 16 Nov 2023 20:44:09 +0200 Subject: [PATCH] add wildcards --- .github/workflows/sonar.yml | 2 +- sonar-project.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 321c37443..2295ef9df 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -66,7 +66,7 @@ jobs: with: java-version: 17 - name: Build Server - run: server/gradlew --no-daemon -p server build + run: server/gradlew --no-daemon -p server compileJava compileScala compileTestJava compileTestScala - name: SonarCloud Scan on PR if: github.event.workflow_run.event == 'pull_request' uses: sonarsource/sonarcloud-github-action@master diff --git a/sonar-project.properties b/sonar-project.properties index 67b5abd0c..0e38a2a48 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,9 +3,9 @@ sonar.organization=open-vsx sonar.sources=cli,webui,server/scripts,server/Dockerfile,server/src/dev,server/src/gatling,server/src/main/java,server/src/main/resources,.gitpod.dockerfile,.gitpod.yml sonar.tests=server/src/test sonar.java.binaries=server/build/classes/java/main -sonar.java.libraries=../../../.gradle/caches +sonar.java.libraries=~/.gradle/caches/** sonar.java.test.binaries=server/build/classes/java/test -sonar.java.test.libraries=../../../.gradle/caches +sonar.java.test.libraries=~/.gradle/caches/** # This is the name and version displayed in the SonarCloud UI. #sonar.projectName=openvsx