-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
55 lines (42 loc) · 1.14 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
53
54
55
plugins {
id 'java'
}
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
}
ext {
junitJupiterVersion = '5.11.3'
jqwikVersion = '1.9.2'
assertJVersion = '3.26.3'
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
compileTestJava {
options.compilerArgs += '-parameters'
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
include '**/*Properties.class'
include '**/*Test.class'
include '**/*Tests.class'
// include '**/*Examples.class'
// include '**/*Solution.class'
testLogging.events = ["passed", "failed", "skipped"]
testLogging.showStandardStreams = true
}
dependencies {
testImplementation("net.jqwik:jqwik:${jqwikVersion}")
// Fluent assertions library
testImplementation("org.assertj:assertj-core:${assertJVersion}")
// For Jupiter tests and also necessary to work around some IntelliJ bugs
testImplementation("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
// For oracle tests in solution 3
testImplementation("org.apache.commons:commons-csv:1.10.0")
}
wrapper {
gradleVersion = '8.11.1'
}