ReaderForSelfoss-multiplatform/build.gradle.kts
aminecmi 4fce19bad4
All checks were successful
continuous-integration/drone/push Build is passing
Trying to set code coverage.
2022-12-13 20:29:51 +01:00

47 lines
1.1 KiB
Plaintext

buildscript {
dependencies {
// SqlDelight
classpath("com.squareup.sqldelight:gradle-plugin:1.5.4")
}
}
plugins {
//trick: for the same plugin versions in all sub-modules
id("com.android.application").version("7.3.1").apply(false)
id("com.android.library").version("7.3.1").apply(false)
kotlin("android").version("1.7.20").apply(false)
kotlin("multiplatform").version("1.7.20").apply(false)
id("org.sonarqube").version("3.4.0.2513")
id("com.mikepenz.aboutlibraries.plugin").version("10.5.1").apply(false)
id("org.jetbrains.kotlinx.kover") version "0.6.1"
}
apply(plugin = "org.sonarqube")
allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven { url = uri("https://www.jitpack.io") }
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
sonarqube {
properties {
property("sonar.coverage.jacoco.xmlReportPaths", "${rootProject.buildDir}/reports/kover/merged/xml/report.xml")
}
}
project.tasks["sonarqube"].dependsOn "koverMergedXmlReport"
koverMerged {
enable()
}