From b733ff3039ef7cb0ca03c83faf1883f7d038d6a7 Mon Sep 17 00:00:00 2001 From: Lenni0451 <20379977+Lenni0451@users.noreply.github.com> Date: Fri, 19 Jul 2024 20:24:52 +0200 Subject: [PATCH] Removed lombok plugin Using the plugin delays makes building extremely slow and breaks the line numbers of the source files. This makes using breakpoints in IDEs impossible. --- build.gradle | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 0dd72f0..e8941e1 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,6 @@ plugins { id "signing" id "checkstyle" id "net.raphimc.class-token-replacer" version "1.1.2" - id "io.freefair.lombok" version "8.6" } base { @@ -54,12 +53,15 @@ dependencies { include fileTree(include: ["*.jar"], dir: "libs") } - implementation "com.google.code.findbugs:jsr305:3.0.2" + compileOnly "com.google.code.findbugs:jsr305:3.0.2" + compileOnly "org.jetbrains:annotations:24.1.0" + compileOnly(annotationProcessor("org.projectlombok:lombok:1.18.34")) //include "net.lenni0451:Reflect:1.0.0" testImplementation(platform("org.junit:junit-bom:5.10.3")) testImplementation "org.junit.jupiter:junit-jupiter" - testRuntimeOnly "org.junit.platform:junit-platform-launcher" + testRuntimeOnly "org.junit.platform:junit-platform-launcher" + testCompileOnly(testAnnotationProcessor("org.projectlombok:lombok:1.18.34")) } sourceSets { @@ -76,11 +78,6 @@ java { withJavadocJar() } -sourcesJar { - from delombok - duplicatesStrategy = DuplicatesStrategy.INCLUDE -} - processResources { //Config file: "version: ${version}" inputs.properties(