-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (61 loc) · 2.1 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
buildscript {
ext.apt_plugin_version = '0.13'
ext.shadow_plugin_version = '2.0.2'
repositories {
jcenter()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-apt-plugin:$apt_plugin_version"
classpath "com.github.jengelman.gradle.plugins:shadow:$shadow_plugin_version"
}
}
apply plugin: 'java'
apply plugin: 'net.ltgt.apt'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'com.revolut.interview'
version = '1.0.0-SNAPSHOT'
description = """
Interview task for the company Revolut.com
"""
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
applicationDefaultJvmArgs = ["-Xmx$HZ_MAX_HEAP_SIZE"]
mainClassName = "com.revolut.interview.Starter"
repositories {
jcenter()
}
dependencies {
// http
compile group: 'io.undertow', name: 'undertow-core', version: '1.4.21.Final'
compile group: 'io.undertow', name: 'undertow-servlet', version: '1.4.21.Final'
// json mapper
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.2'
// data grid
compile "com.hazelcast:hazelcast:$HZ_VERSION"
compile "com.hazelcast:hazelcast-client:$HZ_VERSION"
// properties
compile "org.aeonbits.owner:owner-java8:1.0.6"
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
// lombok
apt "org.projectlombok:lombok:1.16.18"
compileOnly 'org.projectlombok:lombok:1.16.18'
// tests
testCompile "junit:junit:4.12"
testCompile "com.hazelcast:hazelcast:$HZ_VERSION:tests"
testCompile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}