-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (73 loc) · 2.51 KB
/
build.gradle
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
70
71
72
73
74
75
76
77
78
79
80
81
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.fizzed:rocker-gradle-plugin:1.2.1"
}
}
plugins {
id "com.fizzed.rocker" version "1.2.1"
}
apply plugin: "com.fizzed.rocker"
apply plugin: 'java'
apply plugin: 'maven'
description = 'Real~Currents'
group = 'com.real-currents'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
}
rocker {
// (All settings are shown with their defaults)
//
// Skips building templates all together
skip false
// Base directory for generated java sources, actual target is sub directory
// with the name of the source set. The value is passed through project.file().
outputBaseDirectory = "$buildDir/generated-src/rocker"
// Base directory for the directory where the hot reload feature
// will (re)compile classes to at runtime (and where `rocker-compiler.conf`
// is generated, which is used by RockerRuntime.getInstance().setReloading(true)).
// The actual target is a sub directory with the name of the source set.
// The value is passed through project.file().
classBaseDirectory = "$buildDir/classes"
failOnError true
skipTouch true
// must not be empty when skipTouch is equal to false
touchFile ""
javaVersion '1.8'
extendsClass null
extendsModelClass null
optimize null
discardLogicWhitespace null
targetCharset null
suffixRegex null
postProcessing null
}
sourceSets {
main {
java {
srcDir('src/main/java')
}
rocker {
srcDir('src/main/java')
}
}
}
dependencies {
compile group: 'com.fizzed', name: 'rocker-runtime', version: '1.2.1'
compile group: 'javax.xml.bind', name: 'jaxb-api', version:'2.2.12'
compile group: 'io.netty', name: 'netty-transport-native-kqueue', version:'4.1.33.Final', classifier:'osx-x86_64'
compile group: 'io.netty', name: 'netty-transport-native-epoll', version:'4.1.33.Final', classifier:'linux-x86_64'
compile group: 'io.reactiverse', name: 'reactive-pg-client', version:'0.11.2'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.13'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.13'
compile group: 'io.vertx', name: 'vertx-core', version:'3.6.2'
compile group: 'io.vertx', name: 'vertx-lang-kotlin', version:'3.6.2'
}