Skip to content

Commit

Permalink
Integrate kover
Browse files Browse the repository at this point in the history
  • Loading branch information
w2sv committed Mar 10, 2024
1 parent 1c44f67 commit 14826e1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ SHELL=/bin/bash

VERSION := $(shell grep -Po '^version=\K.*' gradle.properties)

test-with-coverage:
@./gradlew koverHtmlReportDebug

publish:
@echo "###### Assembling & running checks ######"
@./gradlew build
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kover) apply false
}
1 change: 1 addition & 0 deletions composed/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.android.library)
alias(libs.plugins.kover)
`maven-publish`
}

Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ compileSdk = "34"

kotlin = "1.9.22"
agp = "8.3.0"
kover = "0.7.6"

compose-compiler = "1.5.8"
compose-ui = "1.6.3"
Expand Down Expand Up @@ -33,3 +34,4 @@ roboelectric = { module = "org.robolectric:robolectric", version.ref = "robolect
[plugins]
android-library = { id = "com.android.library", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }

0 comments on commit 14826e1

Please sign in to comment.