-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild.gradle
More file actions
73 lines (65 loc) · 2.87 KB
/
build.gradle
File metadata and controls
73 lines (65 loc) · 2.87 KB
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
apply plugin: 'checkstyle'
apply from: 'coverage-report.gradle'
subprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
sourceSets {
main {
java {
srcDirs = ['src']
}
}
test {
java {
srcDirs = ['test']
}
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation group:'junit', name:'junit', version:'4.12'
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.11.0'
testImplementation group: 'org.mockito', name: 'mockito-inline', version: '4.11.0'
// https://mvnrepository.com/artifact/com.github.stefanbirkner/system-lambda
testImplementation group: 'com.github.stefanbirkner', name: 'system-lambda', version: '1.2.1'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
implementation group: 'commons-io', name: 'commons-io', version: '2.7'
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.15.0'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.15.0'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.43.0'
// https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager
implementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '6.3.4'
// https://mvnrepository.com/artifact/io.appium/java-client
implementation group: 'io.appium', name: 'java-client', version: '10.1.0'
// https://mvnrepository.com/artifact/com.orientechnologies/orientdb-graphdb
implementation group: 'com.orientechnologies', name: 'orientdb-graphdb', version: '3.2.38'
// https://mvnrepository.com/artifact/org.graalvm.sdk/graal-sdk
implementation group: 'org.graalvm.sdk', name: 'graal-sdk', version: '22.3.2'
// Use jaxb 2.3.1 to fix a Java17 issue with the version 2.3.0 included in the orientdb server dependencies
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1'
}
jacoco {
toolVersion = '0.8.12'
}
test {
useJUnit()
finalizedBy jacocoTestReport
}
buildDir = new File('./target')
jacocoTestReport {
dependsOn test
reports {
xml.required.set(true)
html.required.set(false)
csv.required.set(false)
html.outputLocation.set(file("${buildDir}/jacocoHtml"))
xml.outputLocation.set(file("${buildDir}/jacoco.xml"))
}
}
}