Hi!
We’re using scala-referer-parser
as a part of one of our pipelines, but we noticed that we’re using an old 0.3.0
version from sbt
. The referers.yml
is out of date, and we’d like to add a few websites to it.
We have an old implementation of using scala-referer-parser
that adds this to the build.sbt
:
libraryDependencies ++= Seq(
...
"com.snowplowanalytics" %% "referer-parser" % "0.3.0" excludeAll(
ExclusionRule("org.apache.httpcomponents", "httpclient")
),
...
)
assemblyMergeStrategy in assembly := {
case "referers.yml" => MergeStrategy.rename
case "module-info.class" => MergeStrategy.discard
case x => (assemblyMergeStrategy in assembly).value(x)
}
Should this enable us to have a local referers.yml
that can get merged into library’s referers.yml
at assembly time? If so, can you please help me understand why I’m not able to get referer-parser
to use my entries in referers.yml
?
Our referers.yml
is at src/scala/src/main/resources/referers.yml
, if that helps.
Thank you in advance