-
Notifications
You must be signed in to change notification settings - Fork 38
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
Could not find org.scoverage:scalac-scoverage-plugin_2.13.10:1.4.11. #189
Comments
Sorry, this is currently by design. You don't have to downgrade the Scala version? You just need to set the I do appreciate this is not ideal for those with automated upgrade agents. Stu. |
I should add - please note that there is already an issue relating to scoverage 2.0 and a pull request #188 in flight to support this. |
8.0.0 published - please could you see if it resolves your issue? Thanks, |
By making a change on https://github.com/kisssadam/scoverage-error-demo/blob/main/build.gradle.kts using following patch:
it fails on Windows with error described in #194. |
Getting same error, when using Executed command: `:extractIncludeScoverageProto FAILED FAILURE: Build failed with an exception.
|
Please edit https://github.com/kisssadam/scoverage-error-demo/blob/main/build.gradle.kts#L11 It should point to a valid scoverage scalac plugin version for your current scala library version. Please note that this is an upstream requirement since scoverage v2; I don't plan to release a new version of this gradle plugin for every upstream release. |
The Gradle plugin org.scoverage 7.0.1 is looking for org.scoverage:scalac-scoverage-plugin_2.13.10:1.4.11.
Unfortunately, this is only published for Scala versions up to 2.13.8, which means that I have to set the Scala version for Scoverage explicitly in build.gradle.kts:
Can you please update the plugin to use this version by default or make it compatible with Scoverage 2.x so that I don't have to downgrade Scala version for this plugin?
The Scala dependency is:
implementation("org.scala-lang:scala-library:2.13.10")
I have created a sample project for testing purposes: https://github.com/kisssadam/scoverage-error-demo/blob/main/build.gradle.kts
The text was updated successfully, but these errors were encountered: