diff options
author | Marvin Borner | 2019-04-04 15:57:07 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-04 15:57:07 +0200 |
commit | fb58f161a5036e3f1fdc040679b6ee9efe22ade2 (patch) | |
tree | 03affd2c35249e98220dd238390984033c18f593 /build.gradle | |
parent | b71c055a8a198a1071b5905904096630aba98361 (diff) |
Added hot reloading of rocker templates
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 2a504de..b3f570a 100644 --- a/build.gradle +++ b/build.gradle @@ -13,9 +13,10 @@ repositories { rocker { main { - optimize = true + optimize = false templateDir = file('src/main/resources/views') - outputDir = file('src/main/resources/compiled-views') + outputDir = file('src/main/resources/generated-views') + classDir = file('src/main/resources/compiled-views') } } @@ -27,6 +28,7 @@ dependencies { compile 'org.jetbrains.exposed:exposed:0.13.2' compile "org.xerial:sqlite-jdbc:3.21.0.1" compile "org.thymeleaf:thymeleaf:3.0.9.RELEASE" + compile group: 'com.fizzed', name: 'rocker-compiler', version: '1.2.1' } compileKotlin { |