I'm trying to read the values of twirlSettings
defined in SbtTwirl.
Is there a way to do it? Perhaps using sbt inspect
? Or is there any other way? I need to read the values as I'm trying to find out why my Twirl templates don't get compiled.
twirlSettings
, as such, is not a key that you can sbt inspect
. It is a Seq[Setting[_]]
. However, you can inspect the individual settings it produces. For example:
> inspect compile:compileTemplates::sourceDirectories
to inspect what is produced by line 40:
sourceDirectories in compileTemplates := Seq(sourceDirectory.value / "twirl"),