From f455c66790ba2f85cb60c4c266aeb64c78bd33c0 Mon Sep 17 00:00:00 2001 From: sdimitrov9 Date: Fri, 20 Dec 2024 17:40:21 +0200 Subject: [PATCH] mend Signed-off-by: sdimitrov9 --- build.gradle.kts | 1 + sonar-project.properties | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 sonar-project.properties diff --git a/build.gradle.kts b/build.gradle.kts index 3d4cbe6cdc..8223182b67 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -133,6 +133,7 @@ allprojects { property("sonar.issue.ignore.multicriteria.e5.ruleKey", "plsql:S1192") property("sonar.issue.ignore.multicriteria.e6.resourceKey", "**/*.java") property("sonar.issue.ignore.multicriteria.e6.ruleKey", "java:S2970") + property("sonar.exclusions", "src/main/java/com/hedera/services/**") } } } diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 38fdcf6b83..0000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Project root level configurations -sonar.projectKey=hedera-mirror-node -sonar.modules=hedera-mirror-common,hedera-mirror-graphql,hedera-mirror-grpc,hedera-mirror-importer,hedera-mirror-protobuf,hedera-mirror-rest,hedera-mirror-rest-java,hedera-mirror-rosetta,hedera-mirror-test,hedera-mirror-web3 - -# Module-specific configurations -hedera-mirror-common.sonar.projectBaseDir=hedera-mirror-common -hedera-mirror-graphql.sonar.projectBaseDir=hedera-mirror-graphql -hedera-mirror-grpc.sonar.projectBaseDir=hedera-mirror-grpc -hedera-mirror-importer.sonar.projectBaseDir=hedera-mirror-importer -hedera-mirror-protobuf.sonar.projectBaseDir=hedera-mirror-protobuf -hedera-mirror-rest.sonar.projectBaseDir=hedera-mirror-rest -hedera-mirror-rest-java.sonar.projectBaseDir=hedera-mirror-rest-java -hedera-mirror-rosetta.sonar.projectBaseDir=hedera-mirror-rosetta -hedera-mirror-test.sonar.projectBaseDir=hedera-mirror-test -hedera-mirror-web3.sonar.projectBaseDir=hedera-mirror-web3 - -# Exclude packages from being scanned -hedera-mirror-web3.sonar.exclusions=src/main/java/com/hedera/services/** \ No newline at end of file