-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (40 loc) · 1.08 KB
/
build.gradle.kts
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
java
id("org.springframework.boot") version "2.5.6"
id("io.spring.dependency-management") version "1.1.2"
}
group = "com.countries"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
implementation(group = "io.springfox", name = "springfox-boot-starter", version = "3.0.0")
implementation("org.aspectj:aspectjweaver:1.9.7")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed", "standardOut", "standardError")
exceptionFormat = TestExceptionFormat.FULL
showCauses = true
showExceptions = true
showStackTraces = true
}
}