File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -10,27 +10,10 @@ We're also looking forward to alternative implementations!
1010To 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 .
You can’t perform that action at this time.
0 commit comments