-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
52 lines (44 loc) · 1.11 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
plugins {
id 'java'
id 'application'
id 'jacoco'
id 'checkstyle'
id "com.github.johnrengelman.shadow" version "6.1.0"
}
mainClassName = 'recommendation_library.Main'
jar {
manifest {
attributes 'Main-Class': 'recommendation_library.Main'
}
}
repositories {
jcenter()
mavenCentral()
}
project.ext {
cucumberVersion = '6.8.1'
junitVersion = '4.13'
}
dependencies {
testImplementation 'io.cucumber:cucumber-java:' + cucumberVersion
testImplementation 'io.cucumber:cucumber-junit:' + cucumberVersion
testImplementation 'junit:junit:' + junitVersion
testImplementation "org.mockito:mockito-core:2.+"
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.32.3.2'
}
run {
standardInput = System.in
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
afterEvaluate {
getClassDirectories().setFrom(classDirectories.files.collect {
fileTree(dir: it,
exclude: ['**/Main**'])
})
}
}