1
1
import java.time.OffsetDateTime
2
2
import java.time.format.DateTimeFormatter
3
- import io.franzbecker.gradle.lombok.task.DelombokTask
4
3
5
4
buildscript {
6
5
repositories {
@@ -29,7 +28,7 @@ buildscript {
29
28
// https://github.com/spring-projects/spring-security-oauth/releases
30
29
springSecurityOAuthVersion = ' 2.5.1.RELEASE'
31
30
32
- lombokPluginVersion = ' 5.0 .0'
31
+ lombokPluginVersion = ' 6.3 .0'
33
32
versioningPluginVersion = ' 2.15.1'
34
33
versionsPluginVersion = ' 0.39.0'
35
34
}
@@ -42,7 +41,7 @@ plugins {
42
41
id ' io.spring.dependency-management' version ' 1.0.11.RELEASE'
43
42
id ' net.nemerosa.versioning' version " ${ versioningPluginVersion} "
44
43
id ' com.google.protobuf' version " ${ protobufGradlePluginVersion} "
45
- id ' io.franzbecker.gradle- lombok' version " ${ lombokPluginVersion} " apply false
44
+ id ' io.freefair. lombok' version " ${ lombokPluginVersion} " apply false
46
45
id ' com.github.ben-manes.versions' version " ${ versionsPluginVersion} " // gradle dependencyUpdates
47
46
id ' com.diffplug.spotless' version ' 6.0.0'
48
47
}
@@ -77,7 +76,7 @@ allprojects {
77
76
apply plugin : ' eclipse'
78
77
apply plugin : ' io.spring.dependency-management'
79
78
apply plugin : ' com.diffplug.spotless'
80
- apply plugin : ' io.franzbecker.gradle- lombok'
79
+ apply plugin : ' io.freefair. lombok'
81
80
82
81
java {
83
82
toolchain {
@@ -218,17 +217,6 @@ allprojects { project ->
218
217
}
219
218
220
219
if (project. name == ' grpc-common-spring-boot' || project. name == ' grpc-client-spring-boot-autoconfigure' || project. name == ' grpc-server-spring-boot-autoconfigure' ) {
221
- // Properly generate javadocs for the important projects
222
-
223
- task delombok(type : DelombokTask , dependsOn : compileJava) {
224
- ext. outputDir = file(" $buildDir /delombok" )
225
- outputs. dir(outputDir)
226
- sourceSets. main. java. srcDirs. each {
227
- inputs. dir(it)
228
- args(it, ' -d' , outputDir)
229
- }
230
- }
231
-
232
220
java {
233
221
registerFeature(' optionalSupport' ) {
234
222
usingSourceSet(sourceSets. main)
@@ -241,7 +229,7 @@ allprojects { project ->
241
229
if (project. name != ' grpc-common-spring-boot' ) {
242
230
dependsOn(" :grpc-common-spring-boot:javadoc" )
243
231
}
244
- source = delombok. outputDir
232
+ source = delombok
245
233
failOnError = false
246
234
options. locale = ' en_US'
247
235
options. encoding = ' UTF-8'
0 commit comments