Skip to content

Commit b95f44d

Browse files
authored
Merge pull request #340 from ashawley/sbt-apiurl
Add support for autoAPIMappings
2 parents 0daee4a + f454dd6 commit b95f44d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sbt

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
107107
)
108108
},
109109

110+
apiURL := Some(
111+
url(s"""https://scala.github.io/scala-xml/api/${"-.*".r.replaceAllIn(version.value, "")}/""")
112+
),
110113
apiMappings ++= Map(
111114
scalaInstance.value.libraryJar
112115
-> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")

0 commit comments

Comments
 (0)