From 7d8b58bd7aa95ccdeb8073fd57b4fb4434cb64e3 Mon Sep 17 00:00:00 2001 From: "Sergey.Shanshin" <sergey.shanshin@jetbrains.com> Date: Mon, 27 Nov 2023 21:36:05 +0100 Subject: [PATCH 1/3] Release 0.7.5 --- CHANGELOG.md | 11 +++++++++++ README.md | 8 ++++---- docs/gradle-plugin/index.md | 6 +++--- docs/gradle-plugin/migrations/migration-to-0.7.0.md | 6 +++--- docs/offline-instrumentation/index.md | 4 ++-- .../examples/android/dynamic/build.gradle.kts | 2 +- .../examples/android/flavors/build.gradle.kts | 2 +- .../examples/android/minimal_groovy/build.gradle | 2 +- .../examples/android/minimal_kts/build.gradle.kts | 2 +- .../examples/android/multiplatform/build.gradle.kts | 2 +- .../examples/android/multiproject/build.gradle.kts | 2 +- .../examples/android/variantUsage/build.gradle.kts | 2 +- .../examples/jvm/defaults/build.gradle.kts | 2 +- .../examples/jvm/merged/build.gradle.kts | 2 +- .../examples/jvm/minimal/build.gradle.kts | 2 +- .../examples/runtime-api/build.gradle.kts | 4 ++-- 16 files changed, 35 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 603ea9c9..068e6c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +0.7.5 / 2023-11-28 +=================== +### 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 +* [`#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" } ``` </details> @@ -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' } ``` </details> @@ -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/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-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")) } From 56e21a9924f8995bea39c15619a4c67c1cec91a4 Mon Sep 17 00:00:00 2001 From: "Sergey.Shanshin" <sergey.shanshin@jetbrains.com> Date: Tue, 28 Nov 2023 12:25:57 +0100 Subject: [PATCH 2/3] ~version properties --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 03e10597ede883c32b5851e9a55a9bc44166f50c Mon Sep 17 00:00:00 2001 From: "Sergey.Shanshin" <sergey.shanshin@jetbrains.com> Date: Tue, 28 Nov 2023 12:55:26 +0100 Subject: [PATCH 3/3] ~object with constants --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 068e6c37..0a526e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,12 @@ 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