diff --git a/CHANGELOG.md b/CHANGELOG.md index 603ea9c9..0a526e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +0.7.5 / 2023-11-28 +=================== +## Kover Gradle Plugin +### Features +* [`#503`](https://github.com/Kotlin/kotlinx-kover/issues/503) Introduced Offline Runtime API for saving binary report + +### Bugfixes +* [`#478`](https://github.com/Kotlin/kotlinx-kover/issues/478) Added Kover dependency check +* [`#451`](https://github.com/Kotlin/kotlinx-kover/issues/451) Skip Kotlin object if it is containing only constants +* [`#459`](https://github.com/Kotlin/kotlinx-kover/issues/459) Fixed applying of the root verification rules +* [`#489`](https://github.com/Kotlin/kotlinx-kover/issues/489) Fixed adding data to an already existing binary report file + + 0.7.4 / 2023-10-10 =================== ## Kover Gradle Plugin diff --git a/README.md b/README.md index 9fb07574..a0196a65 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } ``` @@ -46,7 +46,7 @@ plugins { ```groovy plugins { - id 'org.jetbrains.kotlinx.kover' version '0.7.4' + id 'org.jetbrains.kotlinx.kover' version '0.7.5' } ``` @@ -69,7 +69,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5") } } @@ -88,7 +88,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5' } } diff --git a/docs/gradle-plugin/index.md b/docs/gradle-plugin/index.md index 313b8cfb..bd7330c0 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } ``` @@ -62,7 +62,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5") } } @@ -78,7 +78,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.5' } } 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 a1d496f8..0cbb997c 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.4 +# Kover migration guide from 0.6.x to 0.7.5 ## Migration steps -To migrate to version `0.7.4`, you must follow all steps below if they are applicable to your project. +To migrate to version `0.7.5`, 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.4 +### Could not find org.jetbrains.kotlinx:kover:0.7.5 _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 888d851f..8db28367 100644 --- a/docs/offline-instrumentation/index.md +++ b/docs/offline-instrumentation/index.md @@ -91,8 +91,8 @@ configurations.register("koverCli") { } dependencies { - runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.4") - add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.4") + runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.5") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.5") testImplementation(kotlin("test")) } diff --git a/gradle.properties b/gradle.properties index de3bc6f4..d8f7aa49 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ -version=0.7.5-SNAPSHOT +version=0.8.0-SNAPSHOT group=org.jetbrains.kotlinx # version of the latest release -kover.release.version=0.7.4 +kover.release.version=0.7.5 kotlin.code.style=official diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7c9b717f..0ac9e047 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] -intellij-coverage = "1.0.740" +intellij-coverage = "1.0.741" junit = "5.9.0" kotlinx-bcv = "0.13.2" kotlinx-dokka = "1.8.10" diff --git a/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts b/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts index bdea81f0..bca7c2f2 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.4" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.5" 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 f9f0b01a..538ae5ae 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.4" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.5" 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 557ec9e5..0eac14f0 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.4' apply false + id 'org.jetbrains.kotlinx.kover' version '0.7.5' 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 f9f0b01a..538ae5ae 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.4" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.5" 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 c2cb06c0..e9879b41 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } dependencies { diff --git a/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts b/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts index f9f0b01a..538ae5ae 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.4" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.5" 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 f9f0b01a..538ae5ae 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.4" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.5" 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 c6fe906c..e53fd490 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts b/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts index 22610e38..c3e568f8 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts b/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts index 6df317e7..8a43e705 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.4" + id("org.jetbrains.kotlinx.kover") version "0.7.5" } repositories { diff --git a/kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt b/kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt index 8d9e188c..6f87dc40 100644 --- a/kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt +++ b/kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt @@ -15,7 +15,7 @@ public object KoverVersions { /** * Kover coverage tool version. */ - public const val KOVER_TOOL_VERSION = "1.0.740" + public const val KOVER_TOOL_VERSION = "1.0.741" /** * JaCoCo coverage tool version used by default. diff --git a/kover-offline-runtime/examples/runtime-api/build.gradle.kts b/kover-offline-runtime/examples/runtime-api/build.gradle.kts index 9b77d0b6..1e398e4d 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.4") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.5") - implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.4") + implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.5") testImplementation(kotlin("test")) }