-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (39 loc) · 1.18 KB
/
build.gradle
File metadata and controls
50 lines (39 loc) · 1.18 KB
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
plugins {
id 'groovy'
id 'project-report'
id 'build-dashboard'
id 'checkstyle'
id 'codenarc'
}
repositories {
mavenCentral()
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
group = 'io.github.aplotnikov'
version = '0.0.1-SNAPSHOT'
dependencies {
implementation('io.vavr:vavr:0.10.4')
testImplementation(
'nl.jqno.equalsverifier:equalsverifier:3.14.1',
'org.codehaus.groovy:groovy:3.0.17',
'org.spockframework:spock-core:2.3-groovy-3.0',
platform('org.junit:junit-bom:5.9.3'),
'org.junit.jupiter:junit-jupiter-api',
'org.junit.jupiter:junit-jupiter-params',
'org.junit.jupiter:junit-jupiter-engine',
'org.assertj:assertj-core:3.24.2',
'org.awaitility:awaitility:4.2.0',
'org.mockito:mockito-junit-jupiter:5.3.1',
)
}
tasks.withType(Test).configureEach {
useJUnitPlatform {
//Configuration of enabling and disabling tests by tag name
//includeTags('fast', 'smoke')
//excludeTags('slow')
excludeTags('failed')
}
}
tasks.withType(CodeNarc).configureEach {
configFile = rootProject.file 'config/codenarc/codenarc.groovy'
}