-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (33 loc) · 838 Bytes
/
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
plugins {
id 'java'
id 'com.diffplug.gradle.spotless' version '3.23.0'
id 'idea'
}
repositories {
mavenCentral()
}
spotless {
java {
googleJavaFormat('1.7')
}
}
idea {
module {
outputDir file('build/classes/main')
testOutputDir file('build/classes/test')
}
}
ext {
lombokVersion = '1.18.8'
jerseyVersion = '2.26'
}
dependencies {
// lombok
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compile "org.glassfish.jersey.core:jersey-client:$jerseyVersion"
compile "org.glassfish.jersey.inject:jersey-hk2:$jerseyVersion"
compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jerseyVersion"
// required with newer JDKs
compile 'javax.activation:activation:1.1'
}