Skip to content

Commit

Permalink
Drop support for sbt 0.13.x.
Browse files Browse the repository at this point in the history
It is not supported by sbt-scalajs 1.x nor by the latest master of
sbt-scala-native, so there is no point supporting it in
sbt-crossproject.
  • Loading branch information
sjrd committed Feb 10, 2020
1 parent 9048343 commit 77bfcd8
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 19 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ script:
- java -version
- scripts/scalafmt --test
- sbt sbt-crossproject-test/scripted
- sbt ++2.10.7 ^^0.13.17 sbt-crossproject-test/scripted

cache:
directories:
Expand Down
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import Extra._

inThisBuild(
Def.settings(
crossSbtVersions := Seq((sbtVersion in Global).value, "0.13.17"),
crossScalaVersions := Seq("2.12.10", "2.10.7")
scalaVersion := "2.12.10"
))

lazy val `sbt-crossproject-root` =
Expand Down
4 changes: 2 additions & 2 deletions project/Extra.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ object Extra {
)

// to publish plugin (we only need to do this once, it's already done!)
// follow: http://www.scala-sbt.org/0.13/docs/Bintray-For-Plugins.html
// follow: https://www.scala-sbt.org/1.x/docs/Bintray-For-Plugins.html
// then add a new package ()
// name: sbt-crossproject, license: BSD-like, version control: [email protected]:portable-scala/sbt-crossproject.git
// to be available without a resolver
// follow: http://www.scala-sbt.org/0.13/docs/Bintray-For-Plugins.html#Linking+your+package+to+the+sbt+organization
// follow: http://www.scala-sbt.org/1.x/docs/Bintray-For-Plugins.html#Linking+your+package+to+the+sbt+organization
lazy val publishSettings = Seq(
publishArtifact in Compile := true,
publishArtifact in Test := false,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class CrossProject private[sbtcrossproject] (
private val id: String,
crossType: CrossType,
val projects: Map[Platform, Project]
) extends SBTCompat.CompositeProject {
) extends CompositeProject {

// CompositeProject API
override def componentProjects: Seq[Project] = projects.valuesIterator.toSeq
Expand Down

0 comments on commit 77bfcd8

Please sign in to comment.