-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (51 loc) · 1.62 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
64
65
66
67
68
plugins {
id "com.github.johnrengelman.shadow" version "1.2.4"
}
group 'com.clutteredcode'
version '1.0.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'com.clutteredcode.api.rest.ApiServer'
repositories {
mavenLocal()
mavenCentral()
}
ext {
gsonVersion = '2.8.0'
guiceVersion = '4.1.0'
jettyVersion = '9.3.14.v20161028'
resteasyVersion = '3.0.19.Final'
slf4jVersion = '1.7.21'
assertjVersion = '3.5.2'
jmockitVersion = '1.24'
junitVersion = '4.12'
}
dependencies {
// Required for resteasy and swagger to play nice
compile "org.jboss.resteasy:jaxrs-api:3.0.12.Final"
compile "org.eclipse.jetty:jetty-servlet:${jettyVersion}"
compile "com.google.inject:guice:${guiceVersion}"
compile "com.google.inject.extensions:guice-servlet:${guiceVersion}"
compile "org.jboss.resteasy:resteasy-jackson2-provider:${resteasyVersion}"
compile("org.jboss.resteasy:resteasy-guice:${resteasyVersion}") {
exclude group: 'com.google.inject'
}
compile 'io.swagger:swagger-jaxrs:1.5.10'
compile 'org.webjars:swagger-ui:2.2.6'
compile "org.slf4j:slf4j-api:${slf4jVersion}"
compile "org.slf4j:slf4j-ext:${slf4jVersion}"
compile "org.slf4j:slf4j-simple:${slf4jVersion}"
testCompile "org.assertj:assertj-core:${assertjVersion}"
testCompile "org.jmockit:jmockit:${jmockitVersion}"
testCompile("junit:junit:${junitVersion}") {
exclude group: 'org.hamcrest'
}
}
shadowJar {
classifier = null
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2.1'
}