-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
81 lines (64 loc) · 1.63 KB
/
build.gradle
File metadata and controls
81 lines (64 loc) · 1.63 KB
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 {
ext {
joobyVersion = "2.8.5"
}
repositories {
mavenCentral()
}
dependencies {
classpath "io.jooby:jooby-gradle-plugin:2.8.5"
}
}
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"
}
apply plugin: "application"
apply plugin: "jooby"
group "app"
version "1.0.0"
mainClassName = "app.App"
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencyManagement {
imports {
mavenBom "io.jooby:jooby-bom:$joobyVersion"
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
annotationProcessor "io.jooby:jooby-apt"
implementation "io.jooby:jooby-netty"
implementation "ch.qos.logback:logback-classic"
implementation 'io.jooby:jooby-spring:2.8.5'
implementation 'io.jooby:jooby-redis:2.8.5'
implementation 'io.jooby:jooby-gson:2.8.5'
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
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
}
shadowJar {
mergeServiceFiles()
}