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

No easy way to add CrossVersion libraries #285

Open
Daenyth opened this issue Jul 8, 2020 · 0 comments
Open

No easy way to add CrossVersion libraries #285

Daenyth opened this issue Jul 8, 2020 · 0 comments

Comments

@Daenyth
Copy link
Contributor

Daenyth commented Jul 8, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant