-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
49 lines (41 loc) · 1.22 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
group 'io.visual-regression-tracker.sdk-java'
version '4.3.1'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: "io.freefair.lombok"
apply plugin: "com.github.johnrengelman.shadow"
repositories {
mavenCentral()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.freefair.gradle:lombok-plugin:5.1.1"
classpath "com.github.jengelman.gradle.plugins:shadow:5.2.0"
}
}
dependencies {
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'org.slf4j:slf4j-api:1.7.25'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.16'
testImplementation group: 'org.testng', name: 'testng', version: '7.7.0'
testImplementation 'commons-io:commons-io:2.18.0'
testImplementation 'org.mockito:mockito-core:4.4.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.11.0'
testImplementation 'uk.org.webcompere:system-stubs-testng:2.1.3'
}
test {
useTestNG()
}
// codecov integration https://github.com/codecov/example-gradle
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
check.dependsOn jacocoTestReport