try only adding sonar to :lib
This commit is contained in:
parent
f1622d0c0a
commit
1986a8e56d
4 changed files with 11 additions and 31 deletions
|
@ -20,7 +20,6 @@ import org.jetbrains.dokka.gradle.DokkaTask
|
|||
plugins {
|
||||
buildsrc.conventions.lang.`kotlin-jvm`
|
||||
buildsrc.conventions.publishing
|
||||
buildsrc.conventions.sonarqube
|
||||
id("application")
|
||||
id("com.github.ben-manes.versions")
|
||||
}
|
||||
|
@ -111,7 +110,3 @@ publishing {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
sonar {
|
||||
isSkipProject = true
|
||||
}
|
||||
|
|
|
@ -22,14 +22,3 @@ plugins {
|
|||
|
||||
group = "net.thauvin.erik"
|
||||
version = "1.4.0-SNAPSHOT"
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property("sonar.projectName", rootProject.name)
|
||||
property("sonar.projectKey", "ethauvin_${rootProject.name}")
|
||||
property("sonar.organization", "ethauvin-github")
|
||||
property("sonar.host.url", "https://sonarcloud.io")
|
||||
property("sonar.sourceEncoding", "UTF-8")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/report.xml")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,17 +32,17 @@ plugins {
|
|||
id("org.sonarqube")
|
||||
id("org.jetbrains.kotlinx.kover")
|
||||
}
|
||||
//
|
||||
//sonarqube {
|
||||
// properties {
|
||||
// property("sonar.projectName", rootProject.name)
|
||||
// property("sonar.projectKey", "ethauvin_${rootProject.name}")
|
||||
// property("sonar.organization", "ethauvin-github")
|
||||
// property("sonar.host.url", "https://sonarcloud.io")
|
||||
// property("sonar.sourceEncoding", "UTF-8")
|
||||
// property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/report.xml")
|
||||
// }
|
||||
//}
|
||||
|
||||
sonarqube {
|
||||
properties {
|
||||
property("sonar.projectName", rootProject.name)
|
||||
property("sonar.projectKey", "ethauvin_${rootProject.name}")
|
||||
property("sonar.organization", "ethauvin-github")
|
||||
property("sonar.host.url", "https://sonarcloud.io")
|
||||
property("sonar.sourceEncoding", "UTF-8")
|
||||
property("sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/kover/report.xml")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<SonarTask>().configureEach {
|
||||
// workaround for https://github.com/Kotlin/kotlinx-kover/issues/394
|
||||
|
|
|
@ -79,7 +79,3 @@ publishing {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
sonar {
|
||||
// isSkipProject = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue