Upgraded to Kotlin 1.6.0.
Trying out Kover instead of Jacoco.
This commit is contained in:
parent
655889d2b9
commit
ede05c39df
2 changed files with 11 additions and 4 deletions
5
.idea/jarRepositories.xml
generated
5
.idea/jarRepositories.xml
generated
|
@ -36,5 +36,10 @@
|
||||||
<option name="name" value="maven" />
|
<option name="name" value="maven" />
|
||||||
<option name="url" value="https://jitpack.io" />
|
<option name="url" value="https://jitpack.io" />
|
||||||
</remote-repository>
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="maven" />
|
||||||
|
<option name="name" value="maven" />
|
||||||
|
<option name="url" value="https://packages.jetbrains.team/maven/p/ij/intellij-dependencies" />
|
||||||
|
</remote-repository>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -6,8 +6,9 @@ plugins {
|
||||||
id 'jacoco'
|
id 'jacoco'
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.6.0-RC2'
|
id 'org.jetbrains.kotlin.jvm' version '1.6.0'
|
||||||
id 'org.jetbrains.kotlin.kapt' version '1.6.0-RC2'
|
id 'org.jetbrains.kotlin.kapt' version '1.6.0'
|
||||||
|
id 'org.jetbrains.kotlinx.kover' version '0.4.2'
|
||||||
id 'org.sonarqube' version '3.3'
|
id 'org.sonarqube' version '3.3'
|
||||||
id 'pmd'
|
id 'pmd'
|
||||||
}
|
}
|
||||||
|
@ -154,6 +155,7 @@ incrementBuildMeta {
|
||||||
|
|
||||||
sonarqube {
|
sonarqube {
|
||||||
properties {
|
properties {
|
||||||
|
property('sonar.jacoco.reportPaths', "$buildDir/reports/kover/report.xml")
|
||||||
property('sonar.organization', 'ethauvin-github')
|
property('sonar.organization', 'ethauvin-github')
|
||||||
property('sonar.projectKey', 'ethauvin_mobibot')
|
property('sonar.projectKey', 'ethauvin_mobibot')
|
||||||
property('sonar.host.url', 'https://sonarcloud.io')
|
property('sonar.host.url', 'https://sonarcloud.io')
|
||||||
|
@ -173,7 +175,7 @@ jacocoTestReport {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.sonarqube {
|
tasks.sonarqube {
|
||||||
dependsOn 'jacocoTestReport'
|
dependsOn 'koverReport'
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyToDeploy(type: Copy) {
|
task copyToDeploy(type: Copy) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue