Skip to content

Commit 142e22e

Browse files
committed
Release 0.9.1
1 parent 3f6745d commit 142e22e

File tree

22 files changed

+47
-38
lines changed

22 files changed

+47
-38
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
0.9.1 / 2025-01-08
2+
===================
3+
## Kover Gradle Plugin
4+
### Features
5+
* [`#714`](https://github.com/Kotlin/kotlinx-kover/issues/714) Added ability to specify inclusion filter for source sets
6+
### Bugfixes
7+
* [`#716`](https://github.com/Kotlin/kotlinx-kover/issues/716) Fixed Gradle 9.0 migration issue
8+
* [`#721`](https://github.com/Kotlin/kotlinx-kover/issues/721) Fixed creation of Kover Agent arguments file
9+
110
0.9.0 / 2024-12-12
211
===================
312
## Kover Gradle Plugin

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Add the following to your top-level build file:
3939

4040
```kotlin
4141
plugins {
42-
id("org.jetbrains.kotlinx.kover") version "0.9.0"
42+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
4343
}
4444
```
4545
</details>
@@ -49,7 +49,7 @@ plugins {
4949

5050
```groovy
5151
plugins {
52-
id 'org.jetbrains.kotlinx.kover' version '0.9.0'
52+
id 'org.jetbrains.kotlinx.kover' version '0.9.1'
5353
}
5454
```
5555
</details>
@@ -74,7 +74,7 @@ buildscript {
7474
}
7575

7676
dependencies {
77-
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.9.0")
77+
classpath("org.jetbrains.kotlinx:kover-gradle-plugin:0.9.1")
7878
}
7979
}
8080

@@ -93,7 +93,7 @@ buildscript {
9393
mavenCentral()
9494
}
9595
dependencies {
96-
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.9.0'
96+
classpath 'org.jetbrains.kotlinx:kover-gradle-plugin:0.9.1'
9797
}
9898
}
9999
@@ -126,7 +126,7 @@ The Kover Maven Plugin can be applied by specifying build plugin
126126
<plugin>
127127
<groupId>org.jetbrains.kotlinx</groupId>
128128
<artifactId>kover-maven-plugin</artifactId>
129-
<version>0.9.0</version>
129+
<version>0.9.1</version>
130130
</plugin>
131131
```
132132

gradle.properties

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

44
# version of the latest release
5-
kover.release.version=0.9.0
5+
kover.release.version=0.9.1
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.9.0"
11+
id("org.jetbrains.kotlinx.kover.aggregation") version "0.9.1"
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.9.0"
58+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
130+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
228+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
381+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
585+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
762+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
763763
}
764764
```
765765

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

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

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

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.9.0" apply false
6+
id("org.jetbrains.kotlinx.kover") version "0.9.1" 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.9.0" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1" 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.9.0' apply false
5+
id 'org.jetbrains.kotlinx.kover' version '0.9.1' 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.9.0" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1" 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.9.0"
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1" 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.9.0" apply false
5+
id("org.jetbrains.kotlinx.kover") version "0.9.1" 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.9.0"
6+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
3+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
3+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
3+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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.9.0"
3+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
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 -javaagent:/opt/kover-jvm-agent-0.9.0.jar=file:/tmp/agent.args -jar application.jar`.
19+
Example of an application launch command `java -javaagent:/opt/kover-jvm-agent-0.9.1.jar=file:/tmp/agent.args -jar application.jar`.
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-maven-plugin/docs/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Maven plugin to measure test coverage and generate human-readable reports with c
2222
- simultaneous use of several instrumentation agents can lead to unpredictable consequences and unstable operation
2323

2424
## Quickstart
25-
To use Kover coverage measurement it is necessary to add plugin `org.jetbrains.kotlinx:kover-maven-plugin:0.9.0` to build configuration in `pom.xml` and create executions for used goals.
25+
To use Kover coverage measurement it is necessary to add plugin `org.jetbrains.kotlinx:kover-maven-plugin:0.9.1` to build configuration in `pom.xml` and create executions for used goals.
2626

2727
With the following configuration HTML and XML reports will be generated, and verification rules will be checked on `verify` phase:
2828
```xml
@@ -35,7 +35,7 @@ With the following configuration HTML and XML reports will be generated, and ver
3535
<plugin>
3636
<groupId>org.jetbrains.kotlinx</groupId>
3737
<artifactId>kover-maven-plugin</artifactId>
38-
<version>0.9.0</version>
38+
<version>0.9.1</version>
3939
<executions>
4040
<!-- instrument test tasks -->
4141
<execution>
@@ -104,7 +104,7 @@ All available configuration options are shown below:
104104
<plugin>
105105
<groupId>org.jetbrains.kotlinx</groupId>
106106
<artifactId>kover-maven-plugin</artifactId>
107-
<version>0.9.0</version>
107+
<version>0.9.1</version>
108108
<executions>
109109
<!-- instrument test tasks -->
110110
<execution>

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.9.0`.
23+
You can declare a dependency on Kover Features using following coordinates: `org.jetbrains.kotlinx:kover-features-jvm:0.9.1`.
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.9.0")
117-
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.9.0")
116+
runtimeOnly("org.jetbrains.kotlinx:kover-offline-runtime:0.9.1")
117+
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.9.1")
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.9.0")
19+
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.9.1")
2020

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

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

0 commit comments

Comments
 (0)