Skip to content

Commit f454dd6

Browse files
committed
Add support for autoAPIMappings
Publish info.apiURL in ivy data, by adding apiURL to build.sbt
1 parent 0daee4a commit f454dd6

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)