1
1
plugins {
2
2
id ' com.palantir.git-version' version ' 0.12.3'
3
3
id ' java-library'
4
- id ' io.freefair.lombok' version ' 5.1.1'
5
4
id ' maven-publish'
6
5
id ' signing'
7
- id ' io.spring.dependency-management' version ' 1.0.10 .RELEASE'
6
+ id ' io.spring.dependency-management' version ' 1.0.11 .RELEASE'
8
7
id ' com.github.jk1.dependency-license-report' version ' 1.14'
9
- id ' org.sonarqube' version ' 3.1.1 '
8
+ id ' org.sonarqube' version ' 3.3 '
10
9
id ' jacoco'
11
10
}
12
11
13
- apply plugin : ' io.freefair.lombok'
14
12
apply plugin : ' idea'
15
13
16
14
group = ' engineering.everest.starterkit'
@@ -22,10 +20,11 @@ version = gitTagVersion.commitDistance == 0
22
20
: " ${ gitTagVersion.lastTag} +${ gitTagVersion.commitDistance} -SNAPSHOT"
23
21
24
22
ext {
25
- springBootVersion = ' 2.4.0'
23
+ lombokVersion = ' 1.18.20'
24
+ springBootVersion = ' 2.4.8'
26
25
27
- junitVersion = ' 5.7.0 '
28
- mockitoVersion = ' 3.5.15 '
26
+ junitVersion = ' 5.7.2 '
27
+ mockitoVersion = ' 3.11.2 '
29
28
}
30
29
31
30
dependencyManagement {
@@ -37,11 +36,15 @@ dependencyManagement {
37
36
dependencies {
38
37
api " org.springframework.boot:spring-boot-starter-security"
39
38
39
+ compileOnly " org.projectlombok:lombok:${ lombokVersion} "
40
+ annotationProcessor " org.projectlombok:lombok:${ lombokVersion} "
40
41
implementation " org.springframework.boot:spring-boot-starter-web"
41
42
implementation " org.springframework.boot:spring-boot-starter-data-jpa"
42
43
implementation " org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:${ springBootVersion} "
43
44
implementation " org.springframework.security:spring-security-config"
44
45
46
+ testCompileOnly " org.projectlombok:lombok:${ lombokVersion} "
47
+ testAnnotationProcessor " org.projectlombok:lombok:${ lombokVersion} "
45
48
testImplementation " org.junit.jupiter:junit-jupiter:${ junitVersion} "
46
49
testImplementation " org.mockito:mockito-junit-jupiter:${ mockitoVersion} "
47
50
testImplementation " org.springframework.boot:spring-boot-starter-test"
@@ -63,11 +66,5 @@ test {
63
66
useJUnitPlatform()
64
67
}
65
68
66
- lombok {
67
- version = ' 1.18.16'
68
- generateLombokConfig. enabled = false
69
- config[' lombok.addLombokGeneratedAnnotation' ] = ' true'
70
- }
71
-
72
69
apply from : ' publishing.gradle'
73
70
apply from : ' sonar.gradle'
0 commit comments