Skip to content

Commit

Permalink
Merge pull request #216 from SethTisue/scala-3.0.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored Mar 29, 2021
2 parents 72e8efc + 6950d8f commit 0242c31
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import: scala/scala-dev:travis/default.yml
language: scala

scala:
- 3.0.0-RC2
- 3.0.0-RC1
- 2.11.12
- 2.12.13
Expand Down
24 changes: 12 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ lazy val scalaJava8Compat = (project in file("."))

libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",

scalaModuleMimaPreviousVersion := {
scalaModuleMimaPreviousVersion := (CrossVersion.partialVersion(scalaVersion.value) match {
// pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62
if (isDotty.value) None
else Some("0.9.1")
},
case Some((3, _)) => None
case _ => Some("0.9.1")
}),

mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core._, ProblemFilters._
Expand Down Expand Up @@ -146,14 +146,14 @@ lazy val scalaJava8Compat = (project in file("."))
},
JavaDoc / javacOptions := Seq("-Xdoclint:none"),
JavaDoc / packageDoc / artifactName := ((sv, mod, art) => "" + mod.name + "_" + sv.binary + "-" + mod.revision + "-javadoc.jar"),
libraryDependencies ++= (
if (isDotty.value) Seq()
else Seq(compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.16" cross CrossVersion.full))
),
Compile / scalacOptions ++= (
if (isDotty.value) Seq()
else Seq(s"""-P:genjavadoc:out=${target.value / "java"}""")
),
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => Seq()
case _ => Seq(compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.16" cross CrossVersion.full))
}),
Compile / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => Seq()
case _ => Seq(s"""-P:genjavadoc:out=${target.value / "java"}""")
}),
)
}
)
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.4.9
sbt.version=1.5.0-RC2
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.2.4")
addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "1.0.0-RC5")
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.3")

0 comments on commit 0242c31

Please sign in to comment.