Escape a dollar sign in string interpolation
Solution 1:
Just double it
scala> val name = "foo"
name: String = foo
scala> s"my.package.$name$$"
res0: String = my.package.foo$
Just double it
scala> val name = "foo"
name: String = foo
scala> s"my.package.$name$$"
res0: String = my.package.foo$