-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.2 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
buildscript {
ext {
joobyVersion = "2.8.9"
}
}
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.api2"
version "1.0.0"
mainClassName = "tv.lid.cinema.api2.App"
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencyManagement {
imports {
mavenBom "io.jooby:jooby-bom:$joobyVersion"
}
}
dependencies {
implementation "io.jooby:jooby-jetty"
implementation "io.jooby:jooby-jackson"
implementation "ch.qos.logback:logback-classic"
implementation "com.h2database:h2"
implementation "org.sql2o:sql2o:1.6.0"
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()
}