diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a9804b5..603ea9c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +0.7.4 / 2023-10-10 +=================== +## Kover Gradle Plugin +### Features +* [`#441`](https://github.com/Kotlin/kotlinx-kover/issues/441) Added support for Android dynamic feature plugins + +### Bugfixes +* [`#440`](https://github.com/Kotlin/kotlinx-kover/issues/440) Replaced absolute paths in the Kover artifact with relative ones +* [`#446`](https://github.com/Kotlin/kotlinx-kover/issues/446) Disabled writing of FreeMarker logs to stdout when generating an HTML report +* [`#470`](https://github.com/Kotlin/kotlinx-kover/issues/470) Update HTML report path to be clickable +* [`#385`](https://github.com/Kotlin/kotlinx-kover/issues/385) Exclude nested functions in function excluded by annotation +* [`#303`](https://github.com/Kotlin/kotlinx-kover/issues/303) Optional function parameters should not be considered a "branch" +* [`#436`](https://github.com/Kotlin/kotlinx-kover/issues/436) Fixed random koverHtmlReport fails with "Stream closed" or "zip file closed" + +### Build features +* Upgraded Gradle version to `8.2.1` + +### Test features +* [`#437`](https://github.com/Kotlin/kotlinx-kover/issues/437) Added functional test on Gradle nested classes validation error + + 0.7.3 / 2023-07-26 =================== ## Kover Gradle Plugin diff --git a/README.md b/README.md index 2c8a3450..9fb07574 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } ``` @@ -46,7 +46,7 @@ plugins { ```groovy plugins { - id 'org.jetbrains.kotlinx.kover' version '0.7.3' + id 'org.jetbrains.kotlinx.kover' version '0.7.4' } ``` @@ -69,7 +69,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4") } } @@ -88,7 +88,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4' } } diff --git a/docs/gradle-plugin/index.md b/docs/gradle-plugin/index.md index 86a00b7e..313b8cfb 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } ``` @@ -62,7 +62,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4") } } @@ -78,7 +78,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.7.4' } } 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 5cc512b0..a1d496f8 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.3 +# Kover migration guide from 0.6.x to 0.7.4 ## Migration steps -To migrate to version `0.7.3`, you must follow all steps below if they are applicable to your project. +To migrate to version `0.7.4`, 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.3 +### Could not find org.jetbrains.kotlinx:kover:0.7.4 _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 077fc0c7..a1b836fb 100644 --- a/docs/offline-instrumentation/index.md +++ b/docs/offline-instrumentation/index.md @@ -62,8 +62,8 @@ configurations.register("koverCli") { } dependencies { - runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.3") - add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.3") + runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.7.4") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.4") testImplementation(kotlin("test")) } diff --git a/gradle.properties b/gradle.properties index 78a5e2bc..de3bc6f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ -version=0.8.0-SNAPSHOT +version=0.7.5-SNAPSHOT group=org.jetbrains.kotlinx # version of the latest release -kover.release.version=0.7.3 +kover.release.version=0.7.4 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 c1f03f37..bdea81f0 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.3" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.4" 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 a08b784d..f9f0b01a 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.3" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.4" 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 0d2f58d4..557ec9e5 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.3' apply false + id 'org.jetbrains.kotlinx.kover' version '0.7.4' 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 a08b784d..f9f0b01a 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.3" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.4" 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 b8232cd1..c2cb06c0 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } dependencies { diff --git a/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts b/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts index a08b784d..f9f0b01a 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.3" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.4" 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 a08b784d..f9f0b01a 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.3" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.4" 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 04a58c57..c6fe906c 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts b/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts index b90b5470..22610e38 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } repositories { diff --git a/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts b/kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts index 5a221a9f..6df317e7 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.3" + id("org.jetbrains.kotlinx.kover") version "0.7.4" } repositories { diff --git a/kover-offline-runtime/examples/runtime-api/build.gradle.kts b/kover-offline-runtime/examples/runtime-api/build.gradle.kts index c304f5d8..9b77d0b6 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.3") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.7.4") - implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.3") + implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.7.4") testImplementation(kotlin("test")) }