-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (43 loc) · 1.15 KB
/
build.gradle
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
buildscript {
ext {
springBootVersion = '3.3.2'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath "io.spring.gradle:dependency-management-plugin:${applicationVersion}"
}
}
plugins {
id("com.diffplug.spotless") version "6.20.0"
id 'java'
id 'io.spring.dependency-management' version "${springDependencyManagementVersion}"
}
allprojects {
group = "${projectGroup}"
version = "${applicationVersion}"
sourceCompatibility = project.javaVersion
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
dependencies {
annotationProcessor 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
bootJar.enabled = false
jar.enabled = true
test {
useJUnitPlatform()
}
}