blob: 70d4365cfdc63fa7d530768df439c340f62dcc2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
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'
}
group "space.anity"
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"
}
}
*/
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'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
|