Posted November 2, 20169 yr Hi everyone! I have recently started using project lombok in my mod to simpify some codeing. It is working as long as I don't use any lombok.config files to change settings in lombok. I'm using lombok and gradle with lombok.config files in other projects without issues so this must be a ForgeGradle specific issue. I honestly don't really know with what information I can provide you other than that build/sources/... does not contain my lombok.config files whcih might be a hint. I tried making sure they get copied by adding include '**/lombok.config' to both the sourceMainJava and the compileJava tasks without success. And when it tries to compile it complains that certain functions are missing. These would exist if the config was read.
November 2, 20169 yr I've never used Lombok myself, but it looks like Blood Magic uses a Gradle plugin for it; you may have more luck using this. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
November 2, 20169 yr Author Thank you for showing me this but it's still not working... The plugin just installs lombok for you (which is convinient I have to admit. However I'm not going to use it though.) If it helps here is the repo: https://github.com/BrainStone/brainstone
November 3, 20169 yr Author Thanks to Adrodoc55 I now have a solution: sourceMainJava.source = sourceSets.main.allSource
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.