Skip to content

Commit

Permalink
Stick to scala 2 for importing to IntelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed May 10, 2021
1 parent c0f87cd commit 0129f51
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import _root_.io.github.nafg.scalacoptions.{ScalacOptions, options}

ThisBuild / crossScalaVersions := Seq("2.12.13", "2.13.5", "3.0.0-RC3")
ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.last
ThisBuild / scalaVersion := {
val versions = (ThisBuild / crossScalaVersions).value
if (sys.props.contains("idea.managed"))
versions.filter(_.startsWith("2.")).last
else
versions.last
}
ThisBuild / organization := "io.github.nafg.simpleivr"

def ScalaTest = "org.scalatest" %% "scalatest" % "3.2.8"
Expand Down

0 comments on commit 0129f51

Please sign in to comment.