Skip to content

Commit 82a65bc

Browse files
authoredJun 27, 2024··
Release 0.8.2
PR #649
1 parent 67c7836 commit 82a65bc

File tree

22 files changed

+56
-35
lines changed

22 files changed

+56
-35
lines changed
 

‎CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
0.8.2 / 2024-06-27
2+
===================
3+
## Kover Aggregation Plugin
4+
Implemented prototype of Kover Aggregation Plugin - an alternative to the existing Kover Gradle Plugin, it makes it easier to set up a configuration and collect coverage reactively, depending on the compilation and test tasks running.
5+
6+
**This is not a production-ready plugin, it is in an incubation state.**
7+
8+
Please refer to the [GitHub issue](https://github.com/Kotlin/kotlinx-kover/issues/608) and [documentation](https://kotlin.github.io/kotlinx-kover/gradle-plugin/aggregated.html) for details.
9+
10+
## Kover Gradle Plugin
11+
### Bugfixes
12+
* [`#621`](https://github.com/Kotlin/kotlinx-kover/issues/621) Fixed coverage evaluation for enum in K2
13+
* [`#633`](https://github.com/Kotlin/kotlinx-kover/issues/633) Fix issue with identical cache keys between projects
14+
* [`#613`](https://github.com/Kotlin/kotlinx-kover/issues/613) Fixed JaCoCo error: Can't add different class with same name
15+
* [`#601`](https://github.com/Kotlin/kotlinx-kover/issues/601) Fixed support of Compose functions
16+
* [`#646`](https://github.com/Kotlin/kotlinx-kover/issues/646) Fixed reusing of configuration cache
17+
* [`#628`](https://github.com/Kotlin/kotlinx-kover/issues/628) Fixed coverage evaluation of try-finally and try-with-resources for Java code
18+
19+
### Features
20+
* Disable caching on kover artifact tasks
21+
122
0.8.1 / 2024-06-07
223
===================
324
## Kover Gradle Plugin

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Add the following to your top-level build file:
3838

3939
```kotlin
4040
plugins {
41-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
41+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
4242
}
4343
```
4444
</details>
@@ -48,7 +48,7 @@ plugins {
4848

4949
```groovy
5050
plugins {
51-
id 'org.jetbrains.kotlinx.kover' version '0.8.1'
51+
id 'org.jetbrains.kotlinx.kover' version '0.8.2'
5252
}
5353
```
5454
</details>
@@ -73,7 +73,7 @@ buildscript {
7373
}
7474

7575
dependencies {
76-
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.1")
76+
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2")
7777
}
7878
}
7979

@@ -92,7 +92,7 @@ buildscript {
9292
mavenCentral()
9393
}
9494
dependencies {
95-
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.1'
95+
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2'
9696
}
9797
}
9898

‎gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version=0.8.2-SNAPSHOT
1+
version=0.8.3-SNAPSHOT
22
group=org.jetbrains.kotlinx
33

44
# version of the latest release
5-
kover.release.version=0.8.1
5+
kover.release.version=0.8.2
66
kotlin.code.style=official

‎kover-gradle-plugin/docs/aggregated.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The main difference from the existing Kover Gradle Plugin is the reactive conten
88
To use the plugin, just add into a `settings.gradle.kts` file
99
```kotlin
1010
plugins {
11-
id("org.jetbrains.kotlinx.kover.aggregation") version "0.8.1"
11+
id("org.jetbrains.kotlinx.kover.aggregation") version "0.8.2"
1212
}
1313
```
1414
**There is no need to apply Kover plugin in other places, the `org.jetbrains.kotlinx.kover` plug-in should not be applied anywhere.**

‎kover-gradle-plugin/docs/index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Add the following to your build file:
5555

5656
```kotlin
5757
plugins {
58-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
58+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
5959
}
6060
```
6161
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:
127127

128128
```kotlin
129129
plugins {
130-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
130+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
131131
}
132132
```
133133
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
225225
Add the following to the build file only in the `app` module of your Gradle build:
226226
```kotlin
227227
plugins {
228-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
228+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
229229
}
230230
```
231231

@@ -378,7 +378,7 @@ Add the following to build file in each module of your Gradle build:
378378

379379
```kotlin
380380
plugins {
381-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
381+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
382382
}
383383
```
384384
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:
582582

583583
```kotlin
584584
plugins {
585-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
585+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
586586
}
587587
```
588588
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:
759759

760760
```kotlin
761761
plugins {
762-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
762+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
763763
}
764764
```
765765

@@ -777,7 +777,7 @@ buildscript {
777777
}
778778

779779
dependencies {
780-
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.1")
780+
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2")
781781
}
782782
}
783783

@@ -793,7 +793,7 @@ buildscript {
793793
mavenCentral()
794794
}
795795
dependencies {
796-
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.1'
796+
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.8.2'
797797
}
798798
}
799799

‎kover-gradle-plugin/docs/migrations/migration-to-0.8.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Kover migration guide from 0.7.x to 0.8.1
1+
# Kover migration guide from 0.7.x to 0.8.2
22

33
- [Migration steps](#migration-steps)
44
- [Conceptual changes](#conceptual-changes)

‎kover-gradle-plugin/examples/android/dynamic/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ plugins {
33
id("com.android.library") version "7.4.0" apply false
44
id ("com.android.dynamic-feature") version "7.4.0" apply false
55
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
6-
id("org.jetbrains.kotlinx.kover") version "0.8.1" apply false
6+
id("org.jetbrains.kotlinx.kover") version "0.8.2" apply false
77
}

‎kover-gradle-plugin/examples/android/flavors/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2" apply false
66
}

‎kover-gradle-plugin/examples/android/minimal_groovy/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ plugins {
22
id 'com.android.application' version '7.4.0' apply false
33
id 'com.android.library' version '7.4.0' apply false
44
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
5-
id 'org.jetbrains.kotlinx.kover' version '0.8.1' apply false
5+
id 'org.jetbrains.kotlinx.kover' version '0.8.2' apply false
66
}

‎kover-gradle-plugin/examples/android/minimal_kts/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2" apply false
66
}

‎kover-gradle-plugin/examples/android/multiplatform/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
kotlin("multiplatform") version ("1.8.20") apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
66
}
77

88
dependencies {

‎kover-gradle-plugin/examples/android/multiproject-custom/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
66
}
77

88
dependencies {

‎kover-gradle-plugin/examples/android/multiproject/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2" apply false
66
}

‎kover-gradle-plugin/examples/android/variantUsage/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ plugins {
22
id("com.android.application") version "7.4.0" apply false
33
id("com.android.library") version "7.4.0" apply false
44
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
5-
id("org.jetbrains.kotlinx.kover") version "0.8.1" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.8.2" apply false
66
}

‎kover-gradle-plugin/examples/android/with-jvm/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id("com.android.library") version "7.4.0" apply false
44
kotlin("android") version "1.8.20" apply false
55
kotlin("jvm") version "1.8.20" apply false
6-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
6+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
77
}
88

99
dependencies {

‎kover-gradle-plugin/examples/jvm/copy-variant/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
kotlin("jvm") version "1.7.10"
3-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
3+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
44
}
55

66
dependencies {

‎kover-gradle-plugin/examples/jvm/merged/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
kotlin("jvm") version "1.7.10"
3-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
3+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
44
}
55

66
dependencies {

‎kover-gradle-plugin/examples/jvm/single-kmp/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
kotlin("multiplatform") version "1.9.20"
3-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
3+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
44
}
55

66
kotlin {

‎kover-gradle-plugin/examples/jvm/single/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
kotlin("jvm") version "1.7.10"
3-
id("org.jetbrains.kotlinx.kover") version "0.8.1"
3+
id("org.jetbrains.kotlinx.kover") version "0.8.2"
44
}
55

66
dependencies {

‎kover-jvm-agent/docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To get a readable coverage report, you need to:
1616
2. Put JVM agent jar file in a local directory (Important! renaming a jar file is not allowed).
1717
3. Create a file with agent arguments, [learn more about the arguments](#kover-jvm-arguments-file).
1818
4. Add an argument to the java application startup command `-javaagent:<path_to_agent_jar>=file:<path_to_settings_file>`.
19-
Example of an application launch command `java -jar application.jar -javaagent:/opt/kover-jvm-agent-0.8.1.jar=file:/tmp/agent.args`.
19+
Example of an application launch command `java -jar application.jar -javaagent:/opt/kover-jvm-agent-0.8.2.jar=file:/tmp/agent.args`.
2020

2121
## Kover JVM arguments file
2222
The arguments file is a set of settings, each of which is written on a new line.

‎kover-offline-runtime/docs/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ must be passed to Kover CLI as arguments, see [Kover CLI](../cli#offline-instrum
2020
#### Instrumentation by Kover Features
2121
Kover Features is a library that provides capabilities similar to Kover CLI and Kover Gradle plugin.
2222

23-
You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.8.1`.
23+
You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.8.2`.
2424

2525
Then you can use the Kover Features classes to instrument the bytecode of each class:
2626
```kotlin
@@ -113,8 +113,8 @@ configurations.register("koverCli") {
113113
}
114114

115115
dependencies {
116-
runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.8.1")
117-
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.1")
116+
runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.8.2")
117+
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.2")
118118

119119
testImplementation(kotlin("test"))
120120
}

‎kover-offline-runtime/examples/runtime-api/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ configurations.register("koverCli") {
1616
}
1717

1818
dependencies {
19-
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.1")
19+
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.2")
2020

21-
implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.1")
21+
implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.2")
2222

2323
testImplementation(kotlin("test"))
2424
}

0 commit comments

Comments
 (0)
Please sign in to comment.