From 02436b4000cc16683984244ca272b93c1ff015c7 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Thu, 24 May 2018 12:19:29 +0200 Subject: Add a TwirlModule to compile Twirl templates (#271) * initial implementation * Upgrade to the latest version * Add tests * Update the code to comply with the new API * Use reflection to call TwirlCompiler.compile function * Run twirllib.test on CI * Use the Java API as a workaround * wip * Cleanup the code (code review) * Add an example to call the Scala API * twirl that works with scala API * Create functions to override the default settings (will be available in the future) --- build.sc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build.sc') diff --git a/build.sc b/build.sc index 86ef2d00..ac6c2ea9 100755 --- a/build.sc +++ b/build.sc @@ -196,6 +196,12 @@ object scalajslib extends MillModule { } } +object twirllib extends MillModule { + + def moduleDeps = Seq(scalalib) + +} + def testRepos = T{ Seq( "MILL_ACYCLIC_REPO" -> -- cgit v1.2.3