-
Notifications
You must be signed in to change notification settings - Fork 52
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
Create kover-features artifact to invoke the capabilities of Kover via the Java API #534
Labels
Comments
Relates #96 |
shanshin
added a commit
that referenced
this issue
Feb 12, 2024
…e Plugin 1. Created published Kover artifact kover-features-java 2. Added Java API for offline instrumentation of single class 3. Created kotlinx.kover.features.java.KoverLegacyFeatures and put the methods used by the Kover CLI there 4. Removed the dependency on intellij-coverage-reporter from the Kover CLI and add the dependency on kover-features-java Resolves #534
shanshin
added a commit
that referenced
this issue
Feb 12, 2024
…e Plugin 1. Created published Kover artifact kover-features-java 2. Added Java API for offline instrumentation of single class 3. Created kotlinx.kover.features.java.KoverLegacyFeatures and put the methods used by the Kover CLI there 4. Removed the dependency on intellij-coverage-reporter from the Kover CLI and add the dependency on kover-features-java Resolves #534
shanshin
added a commit
that referenced
this issue
Feb 15, 2024
…e Plugin 1. Created published Kover artifact kover-features-java 2. Added Java API for offline instrumentation of single class 3. Created kotlinx.kover.features.java.KoverLegacyFeatures and put the methods used by the Kover CLI there 4. Removed the dependency on intellij-coverage-reporter from the Kover CLI and add the dependency on kover-features-java Resolves #534
shanshin
added a commit
that referenced
this issue
Feb 15, 2024
…e Plugin 1. Created published Kover artifact kover-features-jvm 2. Added Java API for offline instrumentation of single class 3. Created kotlinx.kover.features.jvm.KoverLegacyFeatures and put the methods used by the Kover CLI there 4. Removed the dependency on intellij-coverage-reporter from the Kover CLI and add the dependency on kover-features-jvm Resolves #534 PR #536 Co-authored-by: Leonid Startsev <sandwwraith@users.noreply.github.com>
Implemented in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Motivation
Need to add Kover coverage library support to the Android Gradle Plugin (AGP).
Current status
AGP only supports working with JaCoCo, it uses the Java calls of JaCoCo methods.
The following JaCoCo API are used:
Kover only has an API for getting a binary report in artifact
org.jetbrains.kotlinx:kover-offline-runtime
, a suitable methodkotlinx.kover.offline.runtime.api.KoverRuntime#getReport()
Implementation plan
org.jetbrains.kotlinx:kover-features-jvm
kotlinx.kover.features.jvm.KoverLegacyFeatures
and put the methods used by the Kover CLI thereintellij-coverage-reporter
from the Kover CLI and add the dependency onorg.jetbrains.kotlinx:kover-features-jvm
, use the methods added inkotlinx.kover.features.jvm.KoverFeaturesUtils
. Now,kover-features-jvm
will be the only artifact distributing the Kover Tooling API via Java API.It is required to develop an API that implements all the needs of external users (such as AGP), optimized, but as easy to use and non-redundant.
The text was updated successfully, but these errors were encountered: