-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (74 loc) · 2.45 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.diffplug.spotless:spotless-plugin-gradle:3.1.0'
}
}
apply plugin: 'java'
apply plugin: 'com.diffplug.gradle.spotless'
version = '0.1'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['resources']
}
}
test {
java {
srcDirs = ['test']
}
resources {
srcDirs = ['resources']
}
}
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.5'
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '21.0'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.4'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-jaxb-annotations
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version: '2.8.4'
// https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-json-jackson
compile group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: '2.25.1'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
// https://mvnrepository.com/artifact/org.glassfish.jersey.containers/jersey-container-grizzly2-http
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-grizzly2-http', version: '2.25.1'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.6.2'
}
spotless {
java {
licenseHeaderFile 'spotless.license.java'
}
}
project(':server') {
apply plugin: 'application'
mainClassName = 'com.giorgosgaganis.odoxsync.server.net.MainServer'
repositories {
mavenCentral()
}
dependencies {
runtime rootProject
}
}
project(':client') {
apply plugin: 'application'
mainClassName = 'com.giorgosgaganis.odoxsync.client.SyncClient'
repositories {
mavenCentral()
}
dependencies {
runtime rootProject
}
}