These are chat archives for sbt/sbt
A relaxed chat room about sbt (That interactive build tool). For getting help on sbt, we encourage people to document it on Stackoverflow or subscribing to Lightbend subscription.
Hi everyone , i’m new around here :). Not sure if my question is in the right place but :
I’m trying to develop a sbt plugin involving sbt-twirl.
if i add the dependency in plugins.stb as
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.1.1 ) this works in my build (can set twirl) settings but i can’t acccess sbt-twirl in the classpath of my autoplugin (src/main/**)
If i add dependency with
libraryDependencies (either in the projet or in plugins.sbt) sbt-twirl cannot be found.
How can i use sbt-twirl as a ‘usable’ dependency in my AutoPlugin? Is this a twirl specific issue :( ?
build.sbtto make a derivative plugin. See https://github.com/sbt/sbt-houserules/blob/master/build.sbt
requireit from your plugin and enable your plugin