ReaderForSelfoss-multiplatform/build.gradle.kts

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-03-22 14:35:23 +00:00
buildscript {
dependencies {
// SqlDelight
2022-10-30 21:02:07 +00:00
classpath("com.squareup.sqldelight:gradle-plugin:1.5.4")
2022-03-22 14:35:23 +00:00
}
}
2022-10-22 18:47:38 +00:00
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)
2022-12-12 21:26:12 +00:00
id("org.sonarqube").version("3.4.0.2513")
2022-11-05 21:00:16 +00:00
id("com.mikepenz.aboutlibraries.plugin").version("10.5.1").apply(false)
2022-12-12 21:26:12 +00:00
id("org.jetbrains.kotlinx.kover") version "0.6.1"
2022-10-22 18:47:38 +00:00
}
2022-07-23 20:28:06 +00:00
apply(plugin = "org.sonarqube")
2022-03-22 14:35:23 +00:00
allprojects {
repositories {
google()
mavenCentral()
2022-03-22 15:51:45 +00:00
jcenter()
maven { url = uri("https://www.jitpack.io") }
2022-03-22 14:35:23 +00:00
}
}
2022-10-22 18:47:38 +00:00
2022-03-22 14:35:23 +00:00
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
2022-10-22 18:47:38 +00:00
}
2022-12-12 21:26:12 +00:00
sonarqube {
properties {
property("sonar.coverage.jacoco.xmlReportPaths", "${rootProject.buildDir}/reports/kover/merged/xml/report.xml")
}
}
project.tasks["sonarqube"].dependsOn "koverMergedXmlReport"
koverMerged {
enable()
}