Skip to content

[1.x] remove Scala 2.8 and 2.9 references #438

@xuwei-k

Description

@xuwei-k

https://github.com/sbt/sbt/releases/tag/v1.0.0

Zinc 1 drops support for Scala 2.9 and earlier. Scala 2.10 must use 2.10.2 and above. Scala 2.11 must use 2.11.2 and above. (latest patch releases are recommended)

git grep and filter some page(e.g. 90-Older-Changes.md, 99-Migrating-from-sbt-0.7.x.md) by hand

2.9

$ git grep "2\.9\.[0-3]"
src/dormant/Introduction-to-Full-Configurations.md:scalaVersion := "2.9.0-1"
src/dormant/Introduction-to-Full-Configurations.md:libraryDependencies += "org.scalatest" % "scalatest_2.9.0" % "1.4.1" % "test"
src/dormant/Introduction-to-Full-Configurations.md:      scalaVersion := "2.9.0-1",
src/dormant/Introduction-to-Full-Configurations.md:      libraryDependencies += "org.scalatest" % "scalatest_2.9.0" % "1.4.1" % "test"
src/dormant/Introduction-to-Full-Configurations.md:      sbt.Keys.scalaVersion := "2.9.0-1",
src/dormant/Introduction-to-Full-Configurations.md:      sbt.Keys.libraryDependencies += sbt.toGroupID("org.scalatest").%("scalatest_2.9.0").%("1.4.1").%("test")
src/dormant/Needs-New-Home.md:> ++2.9.1 console-quick
src/dormant/Needs-New-Home.md:Welcome to Scala version 2.9.1.final (Java HotSpot(TM) Server VM, Java 1.6.0).
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:crossScalaVersions := Seq("2.8.2", "2.9.2", "2.10.0")
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:  case "2.9.1" => "2.9.0" // remember that pre-2.10, binary=full
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:  case "2.9.1" => "2.9.0"
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info] Setting: java.lang.String = 2.9.2
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info] The current project is built against Scala 2.9.2
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info] sbt, sbt plugins, and build definitions are using Scala 2.9.2
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info]      org.scala-lang:scala-library:2.9.2: ...
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info] ArrayBuffer(Attributed(~/.sbt/0.12.0/boot/scala-2.9.2/lib/scala-library.jar))
src/reference/04-Howto/04-Howto-Inspect-the-Build.md:[info] ArrayBuffer(Attributed(~/code/sbt.github.com/target/scala-2.9.2/classes), Attributed(~/.sbt/0.12.0/boot/scala-2.9.2/lib/scala-library.jar), Attributed(~/.ivy2/cache/junit/junit/jars/junit-4.8.2.jar))
src/reference/04-Howto/06-Howto-Logging.md:[debug]     /tmp/e/target/scala-2.9.2/classes
src/reference/04-Howto/06-Howto-Logging.md:[debug]     /tmp/e/.sbt/0.12.0/boot/scala-2.9.2/lib/scala-library.jar
src/reference/04-Howto/06-Howto-Logging.md:[info] Resolving org.scala-lang#scala-library;2.9.2 ...
src/reference/04-Howto/06-Howto-Logging.md:[info] Compiling 1 Scala source to .../demo/target/scala-2.9.2/classes...
src/reference/04-Howto/06-Howto-Logging.md:[debug] :: resolving dependencies :: example#example_2.9.2;0.1-SNAPSHOT
src/reference/05-Faq/00.md:Scala version that sbt uses (currently, 2.9.1). You can still *use*
src/reference/05-Faq/00.md:plugins during cross-compilation, because sbt only looks for a 2.9.1
src/reference/05-Faq/00.md:you build for Scala 2.9.0, sbt will try to find a version of the plugin
src/reference/05-Faq/00.md:that's compiled for 2.9.0--and it usually won't. That's because it
src/reference/90-Developers-Guide/09-Launcher/02-Launcher-Architecture.md:use the same version of Scala (2.9.2). In this case, sbt can share the
src/reference/90-Developers-Guide/10-DevGuide-Notes/05-Command-Line-Applications.md:  version: 2.9.1

2.8

git grep "2\.8\.[0-2]"
src/dormant/Needs-New-Home.md:> ++2.8.1 console-quick
src/dormant/Needs-New-Home.md:Welcome to Scala version 2.8.1 (Java HotSpot(TM) Server VM, Java 1.6.0).
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:For example, `dispatch` becomes `dispatch_2.8.1` for the variant
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:compiled against Scala 2.8.1 and `dispatch_2.10` when compiled against
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:libraryDependencies += "net.databinder" % "dispatch_2.8.1" % "0.8.0"
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:`crossScalaVersions` setting. Versions of Scala 2.8.0 or later are
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:crossScalaVersions := Seq("2.8.2", "2.9.2", "2.10.0")
src/reference/02-DetailTopics/01-Using-sbt/03-Cross-Build.md:Dispatch compiled against 2.8.1 for your 2.8.1 build, the version
src/reference/02-DetailTopics/01-Using-sbt/04-Inspecting-Settings.md:[info] /home/user/sample/target/scala-2.8.1.final/demo_2.8.1-0.1.jar
src/reference/02-DetailTopics/01-Using-sbt/04-Inspecting-Settings.md:[info] /home/user/sample/target/scala-2.8.1.final/demo_2.8.1-0.1-src.jar
src/reference/02-DetailTopics/01-Using-sbt/04-Inspecting-Settings.md:[info] /home/user/sample/target/scala-2.8.1.final/demo_2.8.1-0.1-doc.jar
src/reference/02-DetailTopics/01-Using-sbt/04-Inspecting-Settings.md:[info] /home/user/sample/target/scala-2.8.1.final/root_2.8.1-0.1-test.jar
src/reference/02-DetailTopics/02-Configuration/02-Compiler-Plugins.md:addCompilerPlugin("org.scala-lang.plugins" % "continuations" % "2.8.1")
src/reference/02-DetailTopics/05-Plugins-and-Best-Practices/02-Plugins.md:    [https://oss.sonatype.org/content/repositories/releases/org/clapper/grizzled-scala_2.8.1/1.0.4/grizzled-scala_2.8.1-1.0.4.jar](https://oss.sonatype.org/content/repositories/releases/org/clapper/grizzled-scala_2.8.1/1.0.4/grizzled-scala_2.8.1-1.0.4.jar)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions