Skip to content

[Chore] Update GTNH build scripts (and a few other odds and ends)#264

Open
glektarssza wants to merge 8 commits intoGTNewHorizons:masterfrom
glektarssza:update-gtnh-build-scripts
Open

[Chore] Update GTNH build scripts (and a few other odds and ends)#264
glektarssza wants to merge 8 commits intoGTNewHorizons:masterfrom
glektarssza:update-gtnh-build-scripts

Conversation

@glektarssza
Copy link
Copy Markdown
Member

Changes

  • Updated GTNH build scripts to v2.0.19.
  • Overhauled the Git ignores to be better documented and add a few things that both can commonly show up in development environments (e.g. user.properties files) and specifically in my local environment (e.g. stuff related to my spell checker, CSpell).
  • Removed some no-longer needed Git ignores (since runtime stuff is now under the run folder).
  • Enforce UTF-8 encoding across all text files in the repository via the Git attributes file.
  • Allow .patch files to be treated as text files again.
  • Enabled the Eclipse plugin in the build.gradle file for generating LSP configurations for LSPs that are compatible with Eclipse
    configuration files.
  • Added a small shim in addon.gradle to fix an issue where some LSPs get angry and don't provide completions if the value of org.eclipse.jdt.core.compiler.compliance in .settings/org.eclipse.jdt.core.prefs is not aligned with org.eclipse.jdt.core.compiler.codegen.targetPlatform.

It lets us build LSP information for use with various IDEs.
…ing generation.

Notably; `org.eclipse.jdt.core.compiler.compliance` in `.settings/org.eclipse.jdt.core.prefs` needs to always match with our `org.eclipse.jdt.core.compiler.codegen.targetPlatform` setting or else some LSPs (like `jdtls`) will not provide completions.
@glektarssza glektarssza self-assigned this Feb 3, 2026
@glektarssza glektarssza added the safe for stable Bugfix with low break chance for patch releases label Feb 3, 2026
@glektarssza
Copy link
Copy Markdown
Member Author

Going to look at getting some of these integrated into a more org-wide pattern in the near future.

Comment thread build.gradle
//version: 1707058017

plugins {
id 'eclipse'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's being downloaded even for intellij users, right? :fail:

@Lyfts
Copy link
Copy Markdown
Member

Lyfts commented May 1, 2026

Why is this needed for this project specifically over the standard org wide settings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe for stable Bugfix with low break chance for patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants