aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMarvin Borner2019-04-03 21:43:42 +0200
committerMarvin Borner2019-04-03 21:43:42 +0200
commite605ac0ecb77e1b260729523bfff2517be8e2389 (patch)
treef234944b15448ca97609cef48579df8ce1834caf /build.gradle
parentf8f09b016bdd6c93195e87a65afb2d154e399d0f (diff)
Fixed rocker templating
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle38
1 files changed, 3 insertions, 35 deletions
diff --git a/build.gradle b/build.gradle
index 70d4365..2a504de 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.11'
- // id "com.fizzed.rocker" version "1.2.1"
id 'nu.studer.rocker' version '0.4'
id 'java'
}
@@ -10,55 +9,24 @@ version "1.0-SNAPSHOT"
repositories {
jcenter()
- // mavenCentral()
}
-/*
-sourceSets {
- main {
- rocker {
- srcDir("src/main/resources")
- }
- }
-}
-*/
-
-rockerVersion = '0.20.0'
-
rocker {
main {
optimize = true
- templateDir = file('src/resources/views')
- outputDir = file('src/resources/compiled-views')
- }
-}
-
-
-/*
-buildscript {
- repositories {
- mavenLocal()
- jcenter()
- maven {
- url "https://plugins.gradle.org/m2/"
- }
- }
-
- dependencies {
- classpath "gradle.plugin.com.fizzed:rocker-gradle-plugin:1.2.1"
+ templateDir = file('src/main/resources/views')
+ outputDir = file('src/main/resources/compiled-views')
}
}
-*/
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "io.javalin:javalin:2.8.0"
compile "org.slf4j:slf4j-simple:1.7.26"
compile "com.fasterxml.jackson.core:jackson-databind:2.9.8"
- // compile "com.fizzed:rocker-compiler:0.14.0"
compile 'org.jetbrains.exposed:exposed:0.13.2'
compile "org.xerial:sqlite-jdbc:3.21.0.1"
- // compile group: 'com.fizzed', name: 'rocker-runtime', version: '1.2.1'
+ compile "org.thymeleaf:thymeleaf:3.0.9.RELEASE"
}
compileKotlin {