-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
46 lines (36 loc) · 1.41 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
plugins {
id "java"
id "application"
id "idea" // I use IntelliJ IDEA
id "jacoco" // for code coverage reports
}
mainClassName = 'com.github.wakingrufus.microblog.Main'
group = 'com.github.wakingrufus' // your group name
version = '0.2.0'
repositories {
mavenCentral()
}
jar {
manifest {
attributes "Main-Class": "$mainClassName"
}
}
dependencies {
compile 'org.slf4j:slf4j-log4j12:1.7.+' // for logging
compile 'org.projectlombok:lombok:1.+' // utilities for POJOs
compile 'com.fasterxml.jackson.module:jackson-module-parameter-names:2.8.+'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.+'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.+'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.8.+'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jaxrs:2.8.+'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.+'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.+'
compile 'org.glassfish.grizzly:grizzly-http-server:2.+'
compile 'org.glassfish.jersey.containers:jersey-container-grizzly2-http:2.+'
compile 'org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:2.+'
compile 'org.glassfish.hk2:hk2-metadata-generator:2.+'
testCompile 'junit:junit:4.+' // unit testing framework
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-parameters'
}