-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (45 loc) · 1.03 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
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
apply plugin: "jacoco"
apply plugin: 'checkstyle'
group = 'com.leszko'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.hazelcast:hazelcast-all:3.12'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation("io.cucumber:cucumber-java:4.2.6")
testImplementation("io.cucumber:cucumber-junit:4.2.6")
}
jacocoTestCoverageVerification {
violationRules {
rule {
limit {
minimum = 0.1
}
}
}
}
checkstyle {
checkstyleTest.enabled = false
}
task acceptanceTest(type: Test) {
include '**/acceptance/**'
systemProperties System.getProperties()
}
task smokeTest(type: Test) {
include '**/acceptance/**'
systemProperties System.getProperties()
}
test {
exclude '**/acceptance/**'
exclude '**/smoke/**'
}
jacoco { toolVersion= "0.8.6"}