Skip to content

Could not find org.scoverage:scalac-scoverage-plugin_2.13.10:1.4.11. #189

Closed
@kisssandoradam

Description

@kisssandoradam

The Gradle plugin org.scoverage 7.0.1 is looking for org.scoverage:scalac-scoverage-plugin_2.13.10:1.4.11.

Execution failed for task ':compileScoverageScala'.
> Could not resolve all files for configuration ':scoverage'.
   > Could not find org.scoverage:scalac-scoverage-plugin_2.13.10:1.4.11.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/scoverage/scalac-scoverage-plugin_2.13.10/1.4.11/scalac-scoverage-plugin_2.13.10-1.4.11.pom

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:

scoverage {
    scoverageScalaVersion.set("2.13.8")
}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions