-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
48 lines (38 loc) · 953 Bytes
/
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
plugins {
id 'java'
}
repositories {
mavenCentral()
}
ext {
junitPlatformVersion = '1.10.2'
junitJupiterVersion = '5.10.2'
assertJVersion = '3.24.2'
jqwikVersion = '1.8.5'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileTestJava {
options.compilerArgs += '-parameters'
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
// To allow other naming conventions
include '**/*Properties.class'
include '**/*Examples.class'
include '**/*Test.class'
include '**/*Tests.class'
}
dependencies {
testImplementation("net.jqwik:jqwik:${jqwikVersion}")
// Fluent assertions library. You can use any other assertions instead.
testImplementation("org.assertj:assertj-core:${assertJVersion}")
// Optional but recommended to get annotation related API warnings, e.g. for @CheckReturnValue
compileOnly("org.jetbrains:annotations:23.0.0")
}
wrapper {
gradleVersion = '8.7'
}