-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
63 lines (53 loc) · 1.31 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
buildscript {
ext {
joobyVersion = "2.9.1"
}
}
plugins {
id "application"
id "io.jooby.run" version "${joobyVersion}"
id "io.spring.dependency-management" version "1.0.9.RELEASE"
id "com.google.osdetector" version "1.6.2"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
group "tv.lid.cinema.api3"
version "1.0.0"
mainClassName = "tv.lid.cinema.api3.App"
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencyManagement {
imports {
mavenBom "io.jooby:jooby-bom:$joobyVersion"
}
}
dependencies {
implementation "io.jooby:jooby-netty"
implementation "io.jooby:jooby-jackson"
implementation "ch.qos.logback:logback-classic"
implementation "com.h2database:h2"
implementation "org.postgresql:postgresql:42.2.16"
implementation "mysql:mysql-connector-java"
implementation "org.jooq:jooq:3.13.4"
testImplementation "org.junit.jupiter:junit-jupiter-api"
testImplementation "org.junit.jupiter:junit-jupiter-engine"
testImplementation "io.jooby:jooby-test"
testImplementation "com.squareup.okhttp3:okhttp"
}
test {
useJUnitPlatform()
}
/** Java debug information: */
tasks.withType(JavaCompile) {
options.compilerArgs += [
'-parameters',
]
options.debug = true
options.encoding = 'UTF-8'
}
shadowJar {
mergeServiceFiles()
}