-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.14 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
plugins {
id 'java'
id 'application'
id 'jacoco'
}
repositories {
jcenter()
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.3.0-alpha4'
implementation 'com.google.inject:guice:4.2.2'
implementation 'io.javalin:javalin:2.6.0'
implementation 'redis.clients:jedis:3.0.1'
implementation 'com.github.kstyrc:embedded-redis:0.6'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.4'
testImplementation('org.jsmart:zerocode-rest-bdd:1.2.17') {
exclude group: 'io.confluent', module: 'kafka-avro-serializer'
}
}
group = 'com.revolut'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
mainClassName = 'com.revolut.interview.backend.App'
test {
systemProperty 'zerocode.junit', 'gen-smart-charts-csv-reports'
// See com/revolut/interview/backend/LoadTest
exclude 'com/revolut/interview/backend/AppLoadTest.class'
if (!project.hasProperty('enableLoadTest')) {
exclude 'com/revolut/interview/backend/LoadTest.class'
} else {
maxHeapSize = '2G'
}
}
clean.doFirst {
delete "${rootDir}/target"
}