Skip to content

Commit

Permalink
Update scala
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Apr 21, 2021
1 parent ef0b651 commit 952647b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ val scala2_11 = "2.11.12"
val scala2_12 = "2.12.13"
val scala2_13 = "2.13.5"
val scala2 = List(scala2_11, scala2_12, scala2_13)
val scala3 = List("3.0.0-RC2")
val scala3 = List("3.0.0-RC3")

val scalaTestVersion = "3.2.7"
val scalaTestVersion = "3.2.8"

excludeLintKeys in Global ++= Set(ideSkipProject)

Expand All @@ -31,10 +31,11 @@ val commonJsSettings = commonSettings ++ Seq(
if (isSnapshot.value) Seq.empty
else
Seq {
val mapSourcePrefix = if (ScalaArtifacts.isScala3(scalaVersion.value))
"-scalajs-mapSourceURI"
else
"-P:scalajs:mapSourceURI"
val mapSourcePrefix =
if (ScalaArtifacts.isScala3(scalaVersion.value))
"-scalajs-mapSourceURI"
else
"-P:scalajs:mapSourceURI"
val dir = project.base.toURI.toString.replaceFirst("[^/]+/?$", "")
val url = "https://raw.githubusercontent.com/softwaremill/sttp-model"
s"$mapSourcePrefix:$dir->$url/v${version.value}/"
Expand Down

0 comments on commit 952647b

Please sign in to comment.