diff options
-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 |