neoforged / GradleUtils

Gradle buildscript utility library for NeoForged projects
GNU Lesser General Public License v2.1
1 stars 5 forks source link

Switch GradleUtils itself to manual versioning for releases #4

Closed sciwhiz12 closed 10 months ago

sciwhiz12 commented 10 months ago

Currently, GradleUtils uses an awkward system to self-version itself. It holds source files in buildSrc, which is referenced by the buildscript for version calculation and changelog generation; the buildscript then copies over these source files to the root project source folder, ignored by git to avoid being committed.

I propose GradleUtils should itself use manual/maintainer-controlled versioning, instead of relying on this awkward system of copying source files from subproject to root project.

There are multiple reasons as to why this should be done:

This would mean that changelogs wouldn't be auto-generated anymore (unless its automated via another way), but I find that acceptable due to two reasons: few if not none reads the changelog for GradleUtils, and changelogs would still be part of the GitHub release information.

Personally, I find this the only good option to proceed with GradleUtils for future development.

An alternative would be to use a previously-published version of GradleUtils in this project, pinned to an exact version.