How to change Scala version for build definition?

前端 未结 3 892
你的背包
你的背包 2021-01-20 07:00

I\'m developing a simple SBT project that includes InputTasks for benchmarking Scala Parallel collections.

I have defined the InputKeys and started writing the tasks

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-20 07:54

    scalaVersion only impacts the version of Scala used to compile the "actual" source code (usually located in src/...). Your error comes from a part of the build definition (under project/), which is always compiled with the Scala version that sbt was built with.

提交回复
热议问题