-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
46 lines (36 loc) · 1.36 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
plugins {
id 'java'
id 'me.champeau.gradle.jmh' version '0.4.8'
}
group 'org.demo.reactive'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'org.reactivestreams:reactive-streams:1.0.2'
compile 'io.projectreactor:reactor-core:3.2.8.RELEASE'
compile 'io.projectreactor:reactor-test:3.2.8.RELEASE'
testCompile 'org.reactivestreams:reactive-streams-tck:1.0.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.assertj:assertj-core:3.12.2'
testCompile 'org.testng:testng:6.14.3'
// Helper libraries
compile 'org.apache.commons:commons-lang3:3.8.1'
compile 'com.google.guava:guava:27.0.1-jre'
compileOnly 'org.projectlombok:lombok:1.18.6'
annotationProcessor 'org.projectlombok:lombok:1.18.6'
jmh 'org.openjdk.jmh:jmh-core:1.21'
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.21'
}
jmh {
resultFormat = 'JSON' // Result format type (one of CSV, JSON, NONE, SCSV, TEXT)
resultsFile = project.file("${project.buildDir}/reports/jmh/results.json")
duplicateClassesStrategy = 'warn' // Strategy to apply when encountring duplicate
}
test { //this is the gradle task to be executed
useTestNG() { //Tells Gradle to use TestNG
useDefaultListeners = true // Tells TestNG to execute its default reporting structure
}
}