Skip to content

Commit cde10a9

Browse files
committed
Update version, remove documentation duplication
1 parent 2067ae9 commit cde10a9

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

README.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,10 @@ We're also looking forward to alternative implementations!
1010
To depend on scala-xml in SBT, add something like this to your build.sbt:
1111

1212
```
13-
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.0-RC6"
13+
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.1"
1414
```
1515

1616
(Assuming you're using a `scalaVersion` for which a scala-xml is published.
17-
The first 2.11 milestone for which this is true is 2.11.0-M4.
18-
The current milestone is 2.11.0-M6.)
17+
The first 2.11 milestone for which this is true is 2.11.0-M4.)
1918

20-
To support multiple Scala versions:
21-
22-
- SBT 0.12:
23-
```
24-
libraryDependencies <++= (scalaVersion) { sVer =>
25-
if (sVer startsWith "2.11") Seq("org.scala-lang.modules" %% "scala-xml" % "1.0.0-RC6")
26-
else Seq.empty
27-
}
28-
```
29-
30-
- SBT 0.13:
31-
```
32-
libraryDependencies ++= (
33-
if (scalaVersion.value startsWith "2.11") Seq("org.scala-lang.modules" %% "scala-xml" % "1.0.0-RC6")
34-
else Seq.empty
35-
)
36-
```
19+
To support multiple Scala versions, see the example in https://github.com/scala/scala-sbt-cross-compile.

0 commit comments

Comments
 (0)