forked from hexlet-boilerplates/java-package
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (54 loc) · 1.34 KB
/
build.gradle
File metadata and controls
68 lines (54 loc) · 1.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/6.8.3/samples
*/
plugins {
id 'application'
id 'checkstyle'
id 'com.adarshr.test-logger' version '3.1.0'
id 'se.patrikerdes.use-latest-versions' version '0.2.18'
id 'com.github.ben-manes.versions' version '0.42.0'
id 'io.freefair.lombok' version '6.4.1'
id 'jacoco'
id 'net.ltgt.errorprone' version '2.0.2'
}
group = 'io.hexlet'
version = '1.0.3-SNAPSHOT'
repositories {
mavenCentral()
}
compileJava {
options.release = 17
}
application {
mainClass = 'io.hexlet.boilerplate.HelloWorld'
}
dependencies {
implementation(
'com.google.guava:guava:31.0.1-jre',
'org.apache.commons:commons-lang3:3.12.0'
)
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation(
'org.junit.jupiter:junit-jupiter-params:5.8.2',
'org.slf4j:slf4j-log4j12:2.0.0-alpha6',
'org.assertj:assertj-core:3.22.0'
)
errorprone 'com.google.errorprone:error_prone_core:2.11.0'
}
test {
useJUnitPlatform()
}
testlogger {
showStandardStreams true
}
jacocoTestReport {
reports {
xml.required = true
}
}
checkstyle {
toolVersion '9.2.1'
}