-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (36 loc) · 1.14 KB
/
build.gradle
File metadata and controls
46 lines (36 loc) · 1.14 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
plugins {
id "checkstyle"
id "java"
id "org.springframework.boot" version "4.0.5"
id "io.spring.javaformat" version "$javaFormatVersion"
}
java {
sourceCompatibility "17"
targetCompatibility "17"
}
repositories {
mavenCentral()
}
checkstyle {
toolVersion = "12.3.1"
}
dependencies {
annotationProcessor(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
checkstyle("com.puppycrawl.tools:checkstyle:${checkstyle.toolVersion}")
checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:$javaFormatVersion")
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation("org.springframework.boot:spring-boot-starter-restclient")
implementation("org.springframework.boot:spring-boot-starter-json")
testImplementation("org.springframework.boot:spring-boot-starter-restclient-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.named("test") {
useJUnitPlatform()
}
tasks.named("jar") {
enabled = false
}
tasks.named("bootJar") {
archiveVersion = ""
}