Skip to content

Commit 52c1817

Browse files
committed
Add Lombok dependency for improved code generation
1 parent 0d2ba84 commit 52c1817

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ dependencies {
3838

3939
// Fabric API. This is technically optional, but you probably want it anyway.
4040
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
41-
41+
42+
// https://mvnrepository.com/artifact/org.projectlombok/lombok
43+
compileOnly("org.projectlombok:lombok:1.18.38")
44+
annotationProcessor("org.projectlombok:lombok:1.18.38")
45+
46+
testCompileOnly("org.projectlombok:lombok:1.18.38")
47+
testAnnotationProcessor("org.projectlombok:lombok:1.18.38")
4248
}
4349

4450
processResources {
@@ -87,4 +93,4 @@ publishing {
8793
// The repositories here will be used for publishing your artifact, not for
8894
// retrieving dependencies.
8995
}
90-
}
96+
}

0 commit comments

Comments
 (0)