Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.7.4 #477

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```
</details>
Expand All @@ -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'
}
```
</details>
Expand All @@ -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")
}
}

Expand All @@ -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'
}
}

Expand Down
6 changes: 3 additions & 3 deletions docs/gradle-plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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")
}
}

Expand All @@ -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'
}
}

Expand Down
6 changes: 3 additions & 3 deletions docs/gradle-plugin/migrations/migration-to-0.7.0.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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:`
Expand Down
4 changes: 2 additions & 2 deletions docs/offline-instrumentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion kover-gradle-plugin/examples/jvm/defaults/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion kover-gradle-plugin/examples/jvm/merged/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion kover-gradle-plugin/examples/jvm/minimal/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions kover-offline-runtime/examples/runtime-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand Down