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!
10
10
To depend on scala-xml in SBT, add something like this to your build.sbt:
11
11
12
12
```
13
- libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.0-RC6 "
13
+ libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.1 "
14
14
```
15
15
16
16
(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.)
19
18
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