-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (31 loc) · 876 Bytes
/
build.gradle.kts
File metadata and controls
38 lines (31 loc) · 876 Bytes
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
jacoco
checkstyle
id("org.springframework.boot") version "3.5.14"
id("io.spring.dependency-management") version "1.1.7"
id("application")
}
repositories {
mavenCentral()
}
tasks.compileJava {
options.release.set(24)
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
tasks.test {
useJUnitPlatform()
testLogging {
exceptionFormat = TestExceptionFormat.FULL
events = setOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
showStandardStreams = true
}
}
tasks.jacocoTestReport { reports { xml.required.set(true) } }
application {
mainClass.set("io.hexlet.App")
}