Skip to content

Commit

Permalink
Reverted back to use sbt 1.4.9 and sbt-dotty, as sbt 1.5 requires MIM…
Browse files Browse the repository at this point in the history
…A 0.9.1, but MIMA 0.9.1 has problem with overloaded functions in Configuration under org.scalatest.prop package.
  • Loading branch information
cheeseng committed May 14, 2021
1 parent fc36f61 commit aae88a3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions project/BuildCommons.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ trait BuildCommons {

val previousReleaseVersion = "3.2.8"

val plusJUnitVersion = "3.2.8.0"
val plusTestNGVersion = "3.2.8.0"
val plusJUnitVersion = "3.2.9.0"
val plusTestNGVersion = "3.2.9.0"
val flexmarkVersion = "0.36.8"

def rootProject: Project
Expand Down
3 changes: 2 additions & 1 deletion project/DottyBuild.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import dotty.tools.sbtplugin.DottyPlugin.autoImport._
import sbt._
import Keys._
import com.typesafe.tools.mima.plugin.MimaKeys.{mimaPreviousArtifacts, mimaCurrentClassfiles, mimaBinaryIssueFilters}
Expand Down Expand Up @@ -233,7 +234,7 @@ trait DottyBuild { this: BuildCommons =>
|import org.scalactic._
|import Matchers._""".stripMargin,
libraryDependencies += "org.scala-lang.modules" %%% "scala-xml" % "2.0.0",
libraryDependencies += ("org.scala-js" %% "scalajs-test-interface" % scalaJSVersion).cross(CrossVersion.for3Use2_13),
libraryDependencies += ("org.scala-js" %% "scalajs-test-interface" % scalaJSVersion).withDottyCompat(dottyVersion),
packageManagedSources,
sourceGenerators in Compile += Def.task {
GenModulesDotty.genScalaTestCoreJS((sourceManaged in Compile).value, version.value, scalaVersion.value) ++
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.5.2
sbt.version=1.4.9
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ val scalaNativeVersion = Option(System.getenv("SCALANATIVE_VERSION")).getOrElse(
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeVersion)

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0")

addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.5")
2 changes: 1 addition & 1 deletion project/scalatest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ object ScalatestBuild extends BuildCommons with DottyBuild with NativeBuild with

case Some((3, _)) =>
Seq(
"org.scala-lang.modules" %%% "scala-parser-combinators" % "1.2.0-RC2"
"org.scala-lang.modules" %%% "scala-parser-combinators" % "2.0.0"
)

case Some((2, scalaMajor)) if scalaMajor >= 11 =>
Expand Down

0 comments on commit aae88a3

Please sign in to comment.