diff --git a/CHANGELOG.md b/CHANGELOG.md index 596f384f..1017f375 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +0.8.3 / 2024-07-18 +=================== +## Kover Aggregation Plugin +* Added support for Android projects in Kover Aggregation Plugin + +## Kover Maven Plugin +* [`#51`](https://github.com/Kotlin/kotlinx-kover/issues/51) Implemented Kover Maven Plugin + 0.8.2 / 2024-06-27 =================== ## Kover Aggregation Plugin diff --git a/README.md b/README.md index aab59533..b921d94a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Add the following to your top-level build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` @@ -49,7 +49,7 @@ plugins { ```groovy plugins { - id 'org.jetbrains.kotlinx.kover' version '0.8.2' + id 'org.jetbrains.kotlinx.kover' version '0.8.3' } ``` @@ -74,7 +74,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.3") } } @@ -93,7 +93,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.3' } } @@ -126,7 +126,7 @@ The Kover Maven Plugin can be applied by specifying build plugin org.jetbrains.kotlinx kover-maven-plugin - 0.8.2 + 0.8.3 ``` diff --git a/gradle.properties b/gradle.properties index f4573801..c2c1c0ca 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ -version=0.8.3-SNAPSHOT +version=0.8.4-SNAPSHOT group=org.jetbrains.kotlinx # version of the latest release -kover.release.version=0.8.2 +kover.release.version=0.8.3 kotlin.code.style=official diff --git a/kover-gradle-plugin/docs/aggregated.md b/kover-gradle-plugin/docs/aggregated.md index eb2ea681..f005dde9 100644 --- a/kover-gradle-plugin/docs/aggregated.md +++ b/kover-gradle-plugin/docs/aggregated.md @@ -8,7 +8,7 @@ The main difference from the existing Kover Gradle Plugin is the reactive conten To use the plugin, just add into a `settings.gradle.kts` file ```kotlin plugins { - id("org.jetbrains.kotlinx.kover.aggregation") version "0.8.2" + id("org.jetbrains.kotlinx.kover.aggregation") version "0.8.3" } ``` **There is no need to apply Kover plugin in other places, the `org.jetbrains.kotlinx.kover` plug-in should not be applied anywhere.** diff --git a/kover-gradle-plugin/docs/index.md b/kover-gradle-plugin/docs/index.md index 0481244b..e12bec4c 100644 --- a/kover-gradle-plugin/docs/index.md +++ b/kover-gradle-plugin/docs/index.md @@ -55,7 +55,7 @@ Add the following to your build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` For more information about application of the plugin, refer to the [relevant section](#apply-kover-gradle-plugin-in-project) @@ -127,7 +127,7 @@ Add the following line to build file in each module of your Gradle build: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` It is recommended to apply the Kover Plugin in the root module, even if there is no source code or tests there. @@ -225,7 +225,7 @@ Otherwise, the use of the plugin is identical to the use in the [multi-module Ko Add the following to the build file only in the `app` module of your Gradle build: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` @@ -378,7 +378,7 @@ Add the following to build file in each module of your Gradle build: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` It is recommended to apply the Kover Plugin in the root module, even if there is no source code or tests there. @@ -582,7 +582,7 @@ Add the following to build file in each module of your Gradle build: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` It is recommended to apply the Kover Plugin in the root module, even if there is no source code or tests there. @@ -759,7 +759,7 @@ Add the following to your build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } ``` @@ -777,7 +777,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2") + classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.3") } } @@ -793,7 +793,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2' + classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.3' } } diff --git a/kover-gradle-plugin/docs/migrations/migration-to-0.8.0.md b/kover-gradle-plugin/docs/migrations/migration-to-0.8.0.md index 56987f31..8ed2d33d 100644 --- a/kover-gradle-plugin/docs/migrations/migration-to-0.8.0.md +++ b/kover-gradle-plugin/docs/migrations/migration-to-0.8.0.md @@ -1,4 +1,4 @@ -# Kover migration guide from 0.7.x to 0.8.2 +# Kover migration guide from 0.7.x to 0.8.3 - [Migration steps](#migration-steps) - [Conceptual changes](#conceptual-changes) diff --git a/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts b/kover-gradle-plugin/examples/android/dynamic/build.gradle.kts index 5467d05b..421307da 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.8.2" apply false + id("org.jetbrains.kotlinx.kover") version "0.8.3" 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 87362aae..563f1141 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.8.2" apply false + id("org.jetbrains.kotlinx.kover") version "0.8.3" 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 adcedf04..81065e7b 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.8.2' apply false + id 'org.jetbrains.kotlinx.kover' version '0.8.3' 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 87362aae..563f1141 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.8.2" apply false + id("org.jetbrains.kotlinx.kover") version "0.8.3" 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 ba0e5471..8e573700 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.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-gradle-plugin/examples/android/multiproject-custom/build.gradle.kts b/kover-gradle-plugin/examples/android/multiproject-custom/build.gradle.kts index 12734967..210578d5 100644 --- a/kover-gradle-plugin/examples/android/multiproject-custom/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/multiproject-custom/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 id("org.jetbrains.kotlin.android") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts b/kover-gradle-plugin/examples/android/multiproject/build.gradle.kts index 87362aae..563f1141 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.8.2" apply false + id("org.jetbrains.kotlinx.kover") version "0.8.3" 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 87362aae..563f1141 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.8.2" apply false + id("org.jetbrains.kotlinx.kover") version "0.8.3" apply false } diff --git a/kover-gradle-plugin/examples/android/with-jvm/build.gradle.kts b/kover-gradle-plugin/examples/android/with-jvm/build.gradle.kts index 5b79d78b..11e880d5 100644 --- a/kover-gradle-plugin/examples/android/with-jvm/build.gradle.kts +++ b/kover-gradle-plugin/examples/android/with-jvm/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("com.android.library") version "7.4.0" apply false kotlin("android") version "1.8.20" apply false kotlin("jvm") version "1.8.20" apply false - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-gradle-plugin/examples/jvm/copy-variant/build.gradle.kts b/kover-gradle-plugin/examples/jvm/copy-variant/build.gradle.kts index baf869be..7b5584e6 100644 --- a/kover-gradle-plugin/examples/jvm/copy-variant/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/copy-variant/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts b/kover-gradle-plugin/examples/jvm/merged/build.gradle.kts index ecfcb65a..e606dac2 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.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-gradle-plugin/examples/jvm/single-kmp/build.gradle.kts b/kover-gradle-plugin/examples/jvm/single-kmp/build.gradle.kts index 30fa5b0c..2d7678ff 100644 --- a/kover-gradle-plugin/examples/jvm/single-kmp/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/single-kmp/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("multiplatform") version "1.9.20" - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } kotlin { diff --git a/kover-gradle-plugin/examples/jvm/single/build.gradle.kts b/kover-gradle-plugin/examples/jvm/single/build.gradle.kts index 05b0a018..91636b29 100644 --- a/kover-gradle-plugin/examples/jvm/single/build.gradle.kts +++ b/kover-gradle-plugin/examples/jvm/single/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.8.2" + id("org.jetbrains.kotlinx.kover") version "0.8.3" } dependencies { diff --git a/kover-jvm-agent/docs/index.md b/kover-jvm-agent/docs/index.md index 855ebc22..f8b9f57a 100644 --- a/kover-jvm-agent/docs/index.md +++ b/kover-jvm-agent/docs/index.md @@ -16,7 +16,7 @@ To get a readable coverage report, you need to: 2. Put JVM agent jar file in a local directory (Important! renaming a jar file is not allowed). 3. Create a file with agent arguments, [learn more about the arguments](#kover-jvm-arguments-file). 4. Add an argument to the java application startup command `-javaagent:=file:`. - Example of an application launch command `java -jar application.jar -javaagent:/opt/kover-jvm-agent-0.8.2.jar=file:/tmp/agent.args`. + Example of an application launch command `java -jar application.jar -javaagent:/opt/kover-jvm-agent-0.8.3.jar=file:/tmp/agent.args`. ## Kover JVM arguments file The arguments file is a set of settings, each of which is written on a new line. diff --git a/kover-maven-plugin/docs/index.md b/kover-maven-plugin/docs/index.md index 7a61f4d3..65da8086 100644 --- a/kover-maven-plugin/docs/index.md +++ b/kover-maven-plugin/docs/index.md @@ -22,7 +22,7 @@ Maven plugin to measure test coverage and generate human-readable reports with c - simultaneous use of several instrumentation agents can lead to unpredictable consequences and unstable operation ## Quickstart -To use Kover coverage measurement it is necessary to add plugin `org.jetbrains.kotlinx:kover-maven-plugin:0.8.2` to build configuration in `pom.xml` and create executions for used goals. +To use Kover coverage measurement it is necessary to add plugin `org.jetbrains.kotlinx:kover-maven-plugin:0.8.3` to build configuration in `pom.xml` and create executions for used goals. With the following configuration HTML and XML reports will be generated, and verification rules will be checked on `verify` phase: ```xml @@ -35,7 +35,7 @@ With the following configuration HTML and XML reports will be generated, and ver org.jetbrains.kotlinx kover-maven-plugin - 0.8.2 + 0.8.3 @@ -104,7 +104,7 @@ All available configuration options are shown below: org.jetbrains.kotlinx kover-maven-plugin - 0.8.2 + 0.8.3 diff --git a/kover-offline-runtime/docs/index.md b/kover-offline-runtime/docs/index.md index 17b73f51..469b180f 100644 --- a/kover-offline-runtime/docs/index.md +++ b/kover-offline-runtime/docs/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.8.2`. +You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.8.3`. 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.8.2") - add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.2") + runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.8.3") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.3") testImplementation(kotlin("test")) } diff --git a/kover-offline-runtime/examples/runtime-api/build.gradle.kts b/kover-offline-runtime/examples/runtime-api/build.gradle.kts index 58d83b51..4fdf8726 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.8.2") + add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.3") - implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.2") + implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.3") testImplementation(kotlin("test")) }