Upgraded to Kotlin 1.9.0
Removed Sonar plugin
This commit is contained in:
parent
4df6d3f599
commit
bcf59ee0e7
11 changed files with 14 additions and 68 deletions
|
@ -6,7 +6,6 @@ dependencies {
|
|||
implementation("com.github.ben-manes:gradle-versions-plugin:0.47.0")
|
||||
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0")
|
||||
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.8.20")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
|
||||
implementation("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.1")
|
||||
implementation("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.2.0.3129")
|
||||
}
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
/*
|
||||
* Copyright 2001-2023 Geert Bevin (gbevin[remove] at uwyn dot com)
|
||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package buildsrc.conventions
|
||||
|
||||
import org.sonarqube.gradle.SonarTask
|
||||
|
||||
/**
|
||||
* Convention plugin for SonarQube analysis.
|
||||
*
|
||||
* SonarQube depends on an aggregated XML coverage report from
|
||||
* [Kotlinx Kover](https://github.com/Kotlin/kotlinx-kover).
|
||||
* See the Kover docs for
|
||||
* [how to aggregate coverage reports](https://kotlin.github.io/kotlinx-kover/gradle-plugin/#multiproject-build).
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id("org.sonarqube")
|
||||
id("org.jetbrains.kotlinx.kover")
|
||||
}
|
||||
|
||||
tasks.withType<SonarTask>().configureEach {
|
||||
dependsOn(tasks.withType<Test>())
|
||||
// workaround for https://github.com/Kotlin/kotlinx-kover/issues/394
|
||||
dependsOn(tasks.matching { it.name == "koverXmlReport" })
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue