From 2cc027fd982e1694968d2f8e669fd66b946e7a53 Mon Sep 17 00:00:00 2001 From: smirnovaae Date: Fri, 15 Nov 2024 14:42:45 -0800 Subject: [PATCH] Fix duplicate lines in sonarqube --- attribution-data-file-share/build.gradle | 5 ----- lambda-lib/build.gradle | 6 ++++++ optout/build.gradle | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/attribution-data-file-share/build.gradle b/attribution-data-file-share/build.gradle index f989c28..8aa7185 100644 --- a/attribution-data-file-share/build.gradle +++ b/attribution-data-file-share/build.gradle @@ -44,11 +44,6 @@ test { environment "S3_UPLOAD_PATH", "bfdeft01/test/out" } -sonarqube { - properties { - property 'sonar.coverage.exclusions', "**/AttributionParameterStore.java" - } -} task wrapper(type: Wrapper) { gradleVersion = '7.5' diff --git a/lambda-lib/build.gradle b/lambda-lib/build.gradle index c59f20d..6adfeff 100644 --- a/lambda-lib/build.gradle +++ b/lambda-lib/build.gradle @@ -24,4 +24,10 @@ dependencies { test { useJUnitPlatform() +} + +sonarqube { + properties { + property 'sonar.coverage.exclusions', "**/ParameterStoreUtil.java" + } } \ No newline at end of file diff --git a/optout/build.gradle b/optout/build.gradle index 82db63d..b0265c4 100644 --- a/optout/build.gradle +++ b/optout/build.gradle @@ -48,7 +48,7 @@ test { sonarqube { properties { - property 'sonar.coverage.exclusions', "**/OptOutParameterStore.java, **/OptOutConstants.java" + property 'sonar.coverage.exclusions', "**/OptOutConstants.java" } }