-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (45 loc) · 1.6 KB
/
build.gradle
File metadata and controls
56 lines (45 loc) · 1.6 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
allprojects {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group = 'com.m800'
version = '1.2'
repositories {
mavenCentral()
}
}
project(':m800-api-client') {
ext {
guavaVersion = "19.+"
jacksonVersion = "2.+"
jerseyVersion = "2.+"
mockitoVersion = "1.9.+"
testngVersion = "6.+"
}
dependencies {
compile "com.google.guava:guava:$guavaVersion"
// Jackson
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-core:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jacksonVersion"
// Jersey client
compile "org.glassfish.jersey.core:jersey-client:$jerseyVersion"
compile "org.glassfish.jersey.core:jersey-common:$jerseyVersion"
compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jerseyVersion"
compile "org.glassfish.jersey.connectors:jersey-grizzly-connector:$jerseyVersion"
// Test dependencies
testCompile group: 'org.testng', name: 'testng', version: testngVersion
testCompile group: 'org.mockito', name: 'mockito-all', version: mockitoVersion
}
}
project(':samples') {
ext {
commonsCliVersion = "1.+"
}
dependencies {
compile "commons-cli:commons-cli:$commonsCliVersion"
compile project(":m800-api-client")
}
}