-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
40 lines (31 loc) · 856 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
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
}
ext.junitPlatformVersion = '1.8.2'
ext.junitJupiterVersion = '5.8.2'
ext.jqwikVersion = '1.6.2'
apply plugin: 'java'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileTestJava {
options.compilerArgs += '-parameters'
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
include '**/*Properties.class'
include '**/*Test.class'
include '**/*Tests.class'
}
dependencies {
testImplementation("org.assertj:assertj-core:3.21.0")
testImplementation "net.jqwik:jqwik:${jqwikVersion}"
// For Jupiter tests and also necessary to work around some IntelliJ bugs
testImplementation("org.junit.jupiter:junit-jupiter:${junitJupiterVersion}")
}
wrapper {
gradleVersion = '7.3.2'
}