Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.
This repository was archived by the owner on Mar 7, 2022. It is now read-only.

No easy way to add CrossVersion libraries #285

@Daenyth

Description

@Daenyth

For example, here's how I currently have to add silencer:

lazy val libs = org.typelevel.libraries
  .addScalacPlugin("silencer-plugin",
    version = "1.7.0",
    org = "com.github.ghik",
    crossVersion = CrossVersion.full)
  .add("silencer-lib", version = "1.7.0", org = "com.github.ghik")

val commonSettings = Seq(
  libraryDependencies += libs.moduleID("silencer-lib").value % Provided cross CrossVersion.full,
  addCompilerPlugins(libs, "silencer-plugin")
)

It would be nice if .add could take a CrossVersion argument, or if I could supply it to .dependency at least

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions