aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2023-12-01 12:23:34 +0100
committermakamys <makamys@outlook.com>2023-12-01 12:47:00 +0100
commitb8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2 (patch)
treea5a0fd3495377f1841335674c5cfe20efd98daa5 /build.gradle
parenta563c236f49b0c1632de4a87b0ffddb51a5e0a1f (diff)
downloadNeodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.tar.gz
Neodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.tar.bz2
Neodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.zip
Add lombok
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle17
1 files changed, 16 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 731479f..2a452ea 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,8 +13,23 @@ buildscript {
}
}
dependencies {
- classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.11'
+ classpath('com.github.GTNewHorizons:ForgeGradle:1.2.11') {
+ // This transitive dependency breaks plugins for some reason. Only GTNH-FG has this issue.
+ exclude group: "org.eclipse.equinox"
+ }
}
}
+plugins {
+ id 'io.freefair.lombok' version '5.3.0' apply false // appears to be the newest version supporting Gradle 6
+}
+
+if(project.enable_lombok.toBoolean()) {
+ apply plugin: 'io.freefair.lombok'
+ lombok {
+ // the version of the lombok plugin we use would use 1.18.16 by default
+ version = '1.18.30'
+ }
+}
+
apply from: "buildscript/forge-1.7.gradle"