Skip to content

Commit

Permalink
Removed lombok plugin
Browse files Browse the repository at this point in the history
Using the plugin delays makes building extremely slow and breaks the line numbers of the source files. This makes using breakpoints in IDEs impossible.
  • Loading branch information
Lenni0451 authored Jul 19, 2024
1 parent 104f2c6 commit b733ff3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand All @@ -76,11 +78,6 @@ java {
withJavadocJar()
}

sourcesJar {
from delombok
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

processResources {
//Config file: "version: ${version}"
inputs.properties(
Expand Down

0 comments on commit b733ff3

Please sign in to comment.