From b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2 Mon Sep 17 00:00:00 2001 From: makamys Date: Fri, 1 Dec 2023 12:23:34 +0100 Subject: Add lombok --- build.gradle | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'build.gradle') 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" -- cgit