-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (53 loc) · 1.71 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
buildscript {
ext {
joobyVersion = "1.5.0"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "com.google.gradle:osdetector-gradle-plugin:1.4.0"
classpath "io.spring.gradle:dependency-management-plugin:1.0.3.RELEASE"
classpath "org.jooby:jooby-gradle-plugin:$joobyVersion"
}
}
apply plugin: "io.spring.dependency-management"
apply plugin: "com.google.osdetector"
apply plugin: "application"
apply plugin: "jooby"
group "starter.gradle"
version "1.0"
mainClassName = "starter.gradle.App"
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "org.jooby:jooby-bom:$joobyVersion"
}
}
dependencies {
compile "org.jooby:jooby-netty"
compile "io.netty:netty-transport-native-epoll:${dependencyManagement.importedProperties['netty.version']}:${osdetector.classifier.contains('linux') ? 'linux-x86_64' : ''}"
compile "io.netty:netty-tcnative-boringssl-static:${dependencyManagement.importedProperties['boringssl.version']}"
/** zip library */
compile "net.lingala.zip4j:zip4j:1.3.2"
/** template engine */
compile "org.jooby:jooby-pebble:1.6.0"
/** database interface */
compile "org.jooby:jooby-jdbi3:1.6.0"
/** database dependency */
compile "com.h2database:h2:1.3.148"
compile "org.xerial:sqlite-jdbc:3.8.11.2"
/** json utility */
compile "org.jooby:jooby-jackson:1.6.2"
testCompile "junit:junit:4.12"
testCompile "io.rest-assured:rest-assured:3.1.0"
}
/** We diverge from the default resources structure to adopt the Jooby standard: */
sourceSets.main.resources {
srcDirs = ["conf", "public"]
}