diff options
author | makamys <makamys@outlook.com> | 2023-12-01 12:23:34 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2023-12-01 12:47:00 +0100 |
commit | b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2 (patch) | |
tree | a5a0fd3495377f1841335674c5cfe20efd98daa5 | |
parent | a563c236f49b0c1632de4a87b0ffddb51a5e0a1f (diff) | |
download | Neodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.tar.gz Neodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.tar.bz2 Neodymium-b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2.zip |
Add lombok
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | build.gradle | 17 | ||||
-rw-r--r-- | gradle.properties | 1 |
3 files changed, 21 insertions, 1 deletions
@@ -8,6 +8,10 @@ out/ classes/ run/ +# lombok +.factorypath +lombok.config + # eclipse *.launch .settings 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" diff --git a/gradle.properties b/gradle.properties index 28ac386..d39be0b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,4 +10,5 @@ forge_version=10.13.4.1614-1.7.10 update_url=https://raw.githubusercontent.com/makamys/neodymium/master/updatejson/update.json enable_mixin=true +enable_lombok=true multiproject_structure=false |