Skip to content

Commit ced7388

Browse files
authored
Merge pull request #622 from dwijnand/versions
Upgrade Scala versions
2 parents 181f9bb + f511064 commit ced7388

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ See the [prerequisites](#prerequisites) if this is your first release.
4141
[repo1/list]: https://repo1.maven.org/maven2/com/typesafe/mima-core_2.12/0.5.0/
4242
[sonatype/guide]: https://central.sonatype.org/pages/releasing-the-deployment.html
4343
[sonatype/staging-repos]: https://oss.sonatype.org/#stagingRepositories
44-
[travis-ci]: https://travis-ci.org/lightbend/mima
44+
[travis-ci]: https://travis-ci.com/github/lightbend/mima
4545

4646
You are done!
4747

build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ commands += Command.command("testStaging") { state =>
2525
prep ::: "mimaReportBinaryIssues" :: state
2626
}
2727

28-
val supportedScalaVersions = Seq("2.12.13", "2.13.5")
28+
val scala213 = "2.13.5"
2929

3030
val root = project.in(file(".")).settings(
3131
name := "mima",
3232
crossScalaVersions := Nil,
3333
mimaFailOnNoPrevious := false,
34-
skip in publish := true,
34+
publish / skip := true,
3535
)
3636
aggregateProjects(core, sbtplugin, functionalTests)
3737

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

4141
val core = project.settings(
4242
name := "mima-core",
43-
crossScalaVersions := supportedScalaVersions,
43+
crossScalaVersions += scala213,
4444
libraryDependencies += scalaCollectionCompat,
4545
libraryDependencies += munit % Test,
4646
testFrameworks += new TestFramework("munit.Framework"),
@@ -72,7 +72,7 @@ val functionalTests = Project("functional-tests", file("functional-tests"))
7272
.dependsOn(core)
7373
.configs(IntegrationTest)
7474
.settings(
75-
crossScalaVersions := supportedScalaVersions,
75+
crossScalaVersions += scala213,
7676
libraryDependencies += "com.typesafe" % "config" % "1.4.1",
7777
libraryDependencies += "io.get-coursier" %% "coursier" % "2.0.16",
7878
libraryDependencies += munit,
@@ -86,5 +86,5 @@ val functionalTests = Project("functional-tests", file("functional-tests"))
8686
Test / mainClass := Some("com.typesafe.tools.mima.lib.UnitTests"),
8787
IntegrationTest / mainClass := Some("com.typesafe.tools.mima.lib.IntegrationTests"),
8888
mimaFailOnNoPrevious := false,
89-
skip in publish := true,
89+
publish / skip := true,
9090
)

functional-tests/src/main/scala/com/typesafe/tools/mima/lib/TestCli.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import scala.util.{ Properties => StdLibProps }
99

1010
object TestCli {
1111
val scala211 = "2.11.12"
12-
val scala212 = "2.12.12"
13-
val scala213 = "2.13.4"
14-
val scala3 = "3.0.0-M3"
12+
val scala212 = "2.12.13"
13+
val scala213 = "2.13.5"
14+
val scala3 = "3.0.0-RC3"
1515
val hostScalaVersion = StdLibProps.scalaPropOrNone("maven.version.number").get
1616
val allScalaVersions = List(scala211, scala212, scala213, scala3)
1717
val testsDir = Directory("functional-tests/src/test")

0 commit comments

Comments
 (0)