-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
50 lines (40 loc) · 1.12 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
classpath 'org.shipkit:shipkit-changelog:1.2.0'
classpath 'org.shipkit:shipkit-auto-version:1.2.2'
}
}
description = "Mockito for TestNG"
apply plugin: "java-library"
apply from: "gradle/reproducible.gradle"
apply from: "gradle/shipkit.gradle"
apply from: "gradle/java-publication.gradle"
apply from: "gradle/ide.gradle"
group = "org.mockito"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal() //useful for testing when consuming locally built dependencies (like Mockito)
mavenCentral()
}
dependencies {
def mockitoVersion = "5.2.0"
api "org.mockito:mockito-core:$mockitoVersion"
api "org.testng:testng:7.5"
testImplementation "org.assertj:assertj-core:3.24.2"
testImplementation "org.mockito:mockito-inline:$mockitoVersion"
}
test {
include "**/*Test.class"
useTestNG()
testLogging {
exceptionFormat 'full'
showCauses true
}
}