Skip to content

Commit

Permalink
Add sonar properties file for efficient sonar management
Browse files Browse the repository at this point in the history
Signed-off-by: sdimitrov9 <[email protected]>
  • Loading branch information
sdimitrov9 committed Dec 20, 2024
1 parent 1423952 commit 53d7c0a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hedera-mirror-web3/sonar-project.properties

This file was deleted.

18 changes: 18 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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/**

0 comments on commit 53d7c0a

Please sign in to comment.