dependency.literal.Extensions.scala Maven / Gradle / Ivy
The newest version!
package dependency
package literal
import scala.language.experimental.macros
trait Extensions {
implicit class moduleString(val sc: StringContext) {
def mod(args: Any*): ModuleLike[NameAttributes] =
macro ModuleLiteralMacros.module
}
implicit class dependencyString(val sc: StringContext) {
def dep(args: Any*): DependencyLike[NameAttributes, NameAttributes] =
macro DependencyLiteralMacros.dependency
}
}