Skip to content

Commit b901f10

Browse files
committed
Add support for autoAPIMappings
Publish info.apiURL in ivy data, by adding apiURL to build.sbt
1 parent 6a5dce6 commit b901f10

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
@@ -103,6 +103,9 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
103103
)
104104
},
105105

106+
apiURL := Some(
107+
url(s"""https://scala.github.io/scala-xml/api/${"-.*".r.replaceAllIn(version.value, "")}/""")
108+
),
106109
apiMappings ++= Map(
107110
scalaInstance.value.libraryJar
108111
-> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/")

0 commit comments

Comments
 (0)