Skip to content

Doesn't work with Scala 2.13.16 #211

Open
@hamedrnik

Description

@hamedrnik

Hi,

The plugin doesn't work with with Scala version 2.13.16. My build.gradle looks like the following:

plugins {
    id "org.scoverage" version "8.1"
}

scoverage {
    scoverageVersion = '2.3.0'
    scoverageScalaVersion = '2.13.16'
}

running with ./gradlew clean assemble -PscalaVersions=2.13.16:

* What went wrong:
A problem occurred configuring project ':server'.
> Could not determine the dependencies of task ':server:compileScoverageScala'.
   > Could not resolve all task dependencies for configuration ':server:scoverage'.
      > Could not find org.scoverage:scalac-scoverage-runtime_2.13.16:2.3.0.
        Searched in the following locations:
          - https://artifactory.company.com/artifactory/virttrunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/scalac-scoverage-runtime_2.13.16-2.3.0.pom
          - https://artifactory.company.com/artifactory/virttrunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/scalac-scoverage-runtime_2.13.16-2.3.0.jar
          - https://artifactory.company.com/artifactory/virttrunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/ivy.xml
          - https://artifactory.company.com/artifactory/virttrunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/scalac-scoverage-runtime_2.13.16.jar
          - https://artifactory.company.com/artifactory/bronze/trunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/ivy.xml
          - https://artifactory.company.com/artifactory/bronze/trunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/scalac-scoverage-runtime_2.13.16-2.3.0.jar
          - https://artifactory.company.com/artifactory/bronze/trunk/org/scoverage/scalac-scoverage-runtime_2.13.16/2.3.0/scalac-scoverage-runtime_2.13.16.jar
        Required by:
            project :server

Something is wrong when the version resolves to get scalac-scoverage-runtime package. scalac-scoverage-runtime_2.13.16 doesn't exist, but scalac-scoverage-runtime_2.13 exist. Any idea what's going wrong?

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