Skip to content

Crossbuild simulacrum-scalafix for compatibility with advanced semantic rules #294

Open
@danslapman

Description

Some advanced semantic scalafix rules (like built-in ExplicitResultTypes) requires setting up scalafixScalaBinaryVersion. Since simulacrum-scalafix in only built with scala 2.12 it's impossible to use it simultaneously with ExplicitResultTypes enabled. Please, crossbuild the "main" rule artefact

The error is like:

scalafix.sbt.InvalidArgument: Failed to fetch [Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4), Dependency(Module(org.typelevel, simulacrum-scalafix_2.13), 0.5.4)]from [IvyRepository(file:/Users/danslapman/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], dropInfoAttributes = false), MavenRepository(https://repo1.maven.org/maven2), MavenRepository(https://oss.sonatype.org/content/repositories/public)]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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