WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 04f96d6

Browse files
committed
Add support for autoAPIMappings
Publish info.apiURL in ivy data, by adding apiURL to build.sbt
1 parent 831b324 commit 04f96d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sbt

Lines changed: 3 additions & 0 deletions
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)