Skip to content

Commit cbd9792

Browse files
committed
Add sonarcloud config
1 parent 2408eca commit cbd9792

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ plugins {
4646

4747
alias(libs.plugins.gradleBitfunkQuality)
4848
alias(libs.plugins.gradleBitfunkVersioning)
49+
50+
id("jacoco-report-aggregation")
4951
}
5052

5153
allprojects {
@@ -64,6 +66,17 @@ allprojects {
6466
}
6567
}
6668

69+
reportConfig {
70+
sonarProjectKey.set("bitfunk_blueprint-mobile-kmp")
71+
sonarOrganization.set("bitfunk")
72+
coverageReportSourceDirs.set(
73+
listOf(
74+
"$projectDir/plugin-development/build/reports/jacoco/testCodeCoverageReport",
75+
"$projectDir/plugins/build/reports/jacoco/testCodeCoverageReport"
76+
)
77+
)
78+
}
79+
6780
tasks.maybeCreate("clean", Delete::class.java).delete("build")
6881

6982
tasks.named<Wrapper>("wrapper") {

0 commit comments

Comments
 (0)