diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a526e3d..d25da443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +0.7.6 / 2024-02-16 +=================== +## Kover Gradle Plugin +### Features +[`527`](https://github.com/Kotlin/kotlinx-kover/issues/527) Added the ability to specify a header for an XML report + +### Bugfixes +[`510`](https://github.com/Kotlin/kotlinx-kover/issues/510) Fixed `Stream closed` error when generating Kover HTML report +[`513`](https://github.com/Kotlin/kotlinx-kover/issues/513) Fixed breaking configuration cache +[`517`](https://github.com/Kotlin/kotlinx-kover/issues/517) Fixed incorrect marking of first function line when parameters with default value are used +[`530`](https://github.com/Kotlin/kotlinx-kover/issues/530) Fixed the presence of classes instrumented with Robolectric in Jacoco reports +[`543`](https://github.com/Kotlin/kotlinx-kover/issues/543) Fixed package exclusion in reports for JaCoCo + +## Kover Offline +### Features +[`534`](https://github.com/Kotlin/kotlinx-kover/issues/534) Created Kover features artifact to invoke the capabilities of Kover programmatically + 0.7.5 / 2023-11-28 =================== ## Kover Gradle Plugin diff --git a/README.md b/README.md index a0196a65..69e22eab 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Add the following to your top-level build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } ``` @@ -46,7 +46,7 @@ plugins { ```groovy plugins { - id 'org.jetbrains.kotlinx.kover' version '0.7.5' + id 'org.jetbrains.kotlinx.kover' version '0.7.6' } ``` @@ -69,7 +69,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.6") } } @@ -88,7 +88,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.6' } } diff --git a/docs/gradle-plugin/index.md b/docs/gradle-plugin/index.md index bd7330c0..1c872f2d 100644 --- a/docs/gradle-plugin/index.md +++ b/docs/gradle-plugin/index.md @@ -44,7 +44,7 @@ Add the following to your top-level build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } ``` @@ -62,7 +62,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.6") } } @@ -78,7 +78,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.6' } } diff --git a/docs/gradle-plugin/migrations/migration-to-0.7.0.md b/docs/gradle-plugin/migrations/migration-to-0.7.0.md index 0cbb997c..a5f7d2a5 100644 --- a/docs/gradle-plugin/migrations/migration-to-0.7.0.md +++ b/docs/gradle-plugin/migrations/migration-to-0.7.0.md @@ -1,7 +1,7 @@ -# Kover migration guide from 0.6.x to 0.7.5 +# Kover migration guide from 0.6.x to 0.7.6 ## Migration steps -To migrate to version `0.7.5`, you must follow all steps below if they are applicable to your project. +To migrate to version `0.7.6`, you must follow all steps below if they are applicable to your project. ### Merge reports config was removed Now all Kotlin report tasks (`koverHtmlReport`, `koverXmlReport`, `koverVerify`) are in single copy, they can be both single-project or merged cross-projects reports. @@ -612,7 +612,7 @@ kover { --- -### Could not find org.jetbrains.kotlinx:kover:0.7.5 +### Could not find org.jetbrains.kotlinx:kover:0.7.6 _Solution_ rename dependencies in _buildSrc_ from `org.jetbrains.kotlinx:kover:` to `org.jetbrains.kotlinx:kover-gradle-plugin:` diff --git a/docs/offline-instrumentation/index.md b/docs/offline-instrumentation/index.md index c0caf689..fa2b46ad 100644 --- a/docs/offline-instrumentation/index.md +++ b/docs/offline-instrumentation/index.md @@ -20,7 +20,7 @@ must be passed to Kover CLI as arguments, see [Kover CLI](../cli#offline-instrum #### Instrumentation by Kover Features Kover Features is a library that provides capabilities similar to Kover CLI and Kover Gradle plugin. -You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.7.5`. +You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.7.6`. Then you can use the Kover Features classes to instrument the bytecode of each class: ```kotlin @@ -113,8 +113,8 @@ configurations.register("koverCli") { } dependencies { - runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.5") - add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.5") + runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.6") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.6") testImplementation(kotlin("test")) } diff --git a/gradle.properties b/gradle.properties index d8f7aa49..3a9b0d97 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ -version=0.8.0-SNAPSHOT +version=0.7.7-SNAPSHOT group=org.jetbrains.kotlinx # version of the latest release -kover.release.version=0.7.5 +kover.release.version=0.7.6 kotlin.code.style=official diff --git a/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts b/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts index bca7c2f2..5fafd244 100644 --- a/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { id("com.android.library") version "7.4.0" apply false id ("com.android.dynamic-feature") version "7.4.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false } diff --git a/kover-gradle-plugin/examples/android/flavors/build.gradle.kts b/kover-gradle-plugin/examples/android/flavors/build.gradle.kts index 538ae5ae..ffebc54d 100644 --- a/kover-gradle-plugin/examples/android/flavors/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/flavors/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.4.0" apply false id("com.android.library") version "7.4.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false } diff --git a/kover-gradle-plugin/examples/android/minimal_groovy/build.gradle b/kover-gradle-plugin/examples/android/minimal_groovy/build.gradle index 0eac14f0..1c7bb0dd 100644 --- a/kover-gradle-plugin/examples/android/minimal_groovy/build.gradle +++ b/kover-gradle-plugin/examples/android/minimal_groovy/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.android.application' version '7.4.0' apply false id 'com.android.library' version '7.4.0' apply false id 'org.jetbrains.kotlin.android' version '1.8.20' apply false - id 'org.jetbrains.kotlinx.kover' version '0.7.5' apply false + id 'org.jetbrains.kotlinx.kover' version '0.7.6' apply false } diff --git a/kover-gradle-plugin/examples/android/minimal_kts/build.gradle.kts b/kover-gradle-plugin/examples/android/minimal_kts/build.gradle.kts index 538ae5ae..ffebc54d 100644 --- a/kover-gradle-plugin/examples/android/minimal_kts/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/minimal_kts/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.4.0" apply false id("com.android.library") version "7.4.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false } diff --git a/kover-gradle-plugin/examples/android/multiplatform/build.gradle.kts b/kover-gradle-plugin/examples/android/multiplatform/build.gradle.kts index e9879b41..c8708c48 100644 --- a/kover-gradle-plugin/examples/android/multiplatform/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/multiplatform/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("com.android.application") version "7.4.0" apply false id("com.android.library") version "7.4.0" apply false kotlin("multiplatform") version ("1.8.20") apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } dependencies { diff --git a/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts b/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts index 538ae5ae..ffebc54d 100644 --- a/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.4.0" apply false id("com.android.library") version "7.4.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false } diff --git a/kover-gradle-plugin/examples/android/variantUsage/build.gradle.kts b/kover-gradle-plugin/examples/android/variantUsage/build.gradle.kts index 538ae5ae..ffebc54d 100644 --- a/kover-gradle-plugin/examples/android/variantUsage/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/variantUsage/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.4.0" apply false id("com.android.library") version "7.4.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.7.5" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.6" apply false } diff --git a/kover-gradle-plugin/examples/jvm/defaults/build.gradle.kts b/kover-gradle-plugin/examples/jvm/defaults/build.gradle.kts index e53fd490..ee63f9b2 100644 --- a/kover-gradle-plugin/examples/jvm/defaults/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/defaults/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts b/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts index c3e568f8..5cf1aef0 100644 --- a/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts b/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts index 8a43e705..4b287957 100644 --- a/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.7.5" + id("org.jetbrains.kotlinx.kover") version "0.7.6" } repositories { diff --git a/kover-offline-runtime/examples/runtime-api/build.gradle.kts b/kover-offline-runtime/examples/runtime-api/build.gradle.kts index 1e398e4d..755872ab 100644 --- a/kover-offline-runtime/examples/runtime-api/build.gradle.kts +++ b/kover-offline-runtime/examples/runtime-api/build.gradle.kts @@ -16,9 +16,9 @@ configurations.register("koverCli") { } dependencies { - add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.5") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.6") - implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.5") + implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.6") testImplementation(kotlin("test")) }