From c4b6a4fd98eb5e0c37e03f4cfc495346719b9cbd Mon Sep 17 00:00:00 2001 From: jisu Date: Sun, 29 Dec 2024 15:51:25 +0900 Subject: [PATCH] fix: sonar sources path --- build.gradle.kts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 5f6c995..0a564e8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,11 +88,9 @@ sonar { property("sonar.organization", "yapp-github") property("sonar.host.url", "https://sonarcloud.io") property("sonar.coverage.jacoco.xmlReportPaths", "build/reports/jacoco/index.xml") - property("sonar.sources", "src") - property("sonar.language", "kotlin") + property("sonar.sources", "src/main/kotlin") property("sonar.sourceEncoding", "UTF-8") - property("sonar.exclusions", "**/test/**, **/resources/**, **/*Application*.kt, **/*Controller*.kt, **/*Config.kt'" + - ", **/*Repository*.kt, **/*Dto*.kt, **/*Response*.kt, **/*Request*.kt, **/*Exception*.kt") + property("sonar.exclusions", "**/test/**, **/resources/**, **/*Application*.kt, **/*Controller*.kt, **/*Config.kt, **/*Repository*.kt, **/*Dto*.kt, **/*Response*.kt, **/*Request*.kt, **/*Exception*.kt") property("sonar.test.inclusions", "**/*Test.kt") property("sonar.kotlin.coveragePlugin", "jacoco") }