Skip to content

Commit a566c06

Browse files
authored
Merge pull request #329 from graphql-java-kickstart/lombok-annotation-processor
chore(deps): replace lombok plugin with annotation processor
2 parents cc843b3 + a0c4042 commit a566c06

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ buildscript {
2727
}
2828

2929
plugins {
30-
id 'io.franzbecker.gradle-lombok' version '3.2.0' apply false
3130
id "biz.aQute.bnd.builder" version "5.1.2" apply false
3231
id "org.sonarqube" version "3.0"
3332
id "jacoco"
@@ -49,7 +48,6 @@ subprojects {
4948
apply plugin: 'java'
5049
apply plugin: 'maven-publish'
5150
apply plugin: 'signing'
52-
apply plugin: 'io.franzbecker.gradle-lombok'
5351

5452
repositories {
5553
mavenLocal()
@@ -58,6 +56,14 @@ subprojects {
5856
maven { url "https://repo.spring.io/libs-milestone" }
5957
}
6058

59+
dependencies {
60+
compileOnly "org.projectlombok:lombok:$LIB_LOMBOK_VER"
61+
annotationProcessor "org.projectlombok:lombok:$LIB_LOMBOK_VER"
62+
63+
testCompileOnly "org.projectlombok:lombok:$LIB_LOMBOK_VER"
64+
testAnnotationProcessor "org.projectlombok:lombok:$LIB_LOMBOK_VER"
65+
}
66+
6167
idea {
6268
module {
6369
downloadJavadoc = true
@@ -72,11 +78,6 @@ subprojects {
7278

7379
compileJava.dependsOn(processResources)
7480

75-
lombok {
76-
version = "1.18.16"
77-
sha256 = ""
78-
}
79-
8081
jacocoTestReport {
8182
reports {
8283
xml.enabled = true
@@ -86,7 +87,6 @@ subprojects {
8687
}
8788

8889
if (!it.name.startsWith('example')) {
89-
9090
jar {
9191
from "LICENSE.md"
9292
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PROJECT_DEV_NAME=Andrew Potter
1010
LIB_GRAPHQL_JAVA_VER=16.1
1111
LIB_JACKSON_VER=2.12.0
1212
LIB_SLF4J_VER=1.7.30
13+
LIB_LOMBOK_VER=1.18.20
1314
SOURCE_COMPATIBILITY=1.8
1415
TARGET_COMPATIBILITY=1.8
1516
GRADLE_WRAPPER_VER=7.0

0 commit comments

Comments
 (0)