Skip to content

Commit

Permalink
Merge pull request #622 from dwijnand/versions
Browse files Browse the repository at this point in the history
Upgrade Scala versions
  • Loading branch information
dwijnand authored May 5, 2021
2 parents 181f9bb + f511064 commit ced7388
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ See the [prerequisites](#prerequisites) if this is your first release.
[repo1/list]: https://repo1.maven.org/maven2/com/typesafe/mima-core_2.12/0.5.0/
[sonatype/guide]: https://central.sonatype.org/pages/releasing-the-deployment.html
[sonatype/staging-repos]: https://oss.sonatype.org/#stagingRepositories
[travis-ci]: https://travis-ci.org/lightbend/mima
[travis-ci]: https://travis-ci.com/github/lightbend/mima

You are done!

Expand Down
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ commands += Command.command("testStaging") { state =>
prep ::: "mimaReportBinaryIssues" :: state
}

val supportedScalaVersions = Seq("2.12.13", "2.13.5")
val scala213 = "2.13.5"

val root = project.in(file(".")).settings(
name := "mima",
crossScalaVersions := Nil,
mimaFailOnNoPrevious := false,
skip in publish := true,
publish / skip := true,
)
aggregateProjects(core, sbtplugin, functionalTests)

Expand All @@ -40,7 +40,7 @@ val scalaCollectionCompat = "org.scala-lang.modules" %% "scala-collection-compat

val core = project.settings(
name := "mima-core",
crossScalaVersions := supportedScalaVersions,
crossScalaVersions += scala213,
libraryDependencies += scalaCollectionCompat,
libraryDependencies += munit % Test,
testFrameworks += new TestFramework("munit.Framework"),
Expand Down Expand Up @@ -72,7 +72,7 @@ val functionalTests = Project("functional-tests", file("functional-tests"))
.dependsOn(core)
.configs(IntegrationTest)
.settings(
crossScalaVersions := supportedScalaVersions,
crossScalaVersions += scala213,
libraryDependencies += "com.typesafe" % "config" % "1.4.1",
libraryDependencies += "io.get-coursier" %% "coursier" % "2.0.16",
libraryDependencies += munit,
Expand All @@ -86,5 +86,5 @@ val functionalTests = Project("functional-tests", file("functional-tests"))
Test / mainClass := Some("com.typesafe.tools.mima.lib.UnitTests"),
IntegrationTest / mainClass := Some("com.typesafe.tools.mima.lib.IntegrationTests"),
mimaFailOnNoPrevious := false,
skip in publish := true,
publish / skip := true,
)
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import scala.util.{ Properties => StdLibProps }

object TestCli {
val scala211 = "2.11.12"
val scala212 = "2.12.12"
val scala213 = "2.13.4"
val scala3 = "3.0.0-M3"
val scala212 = "2.12.13"
val scala213 = "2.13.5"
val scala3 = "3.0.0-RC3"
val hostScalaVersion = StdLibProps.scalaPropOrNone("maven.version.number").get
val allScalaVersions = List(scala211, scala212, scala213, scala3)
val testsDir = Directory("functional-tests/src/test")
Expand Down

0 comments on commit ced7388

Please sign in to comment.