This PR does a lot of cleanup and refactors to GradleUtils, in preparation for a new major version 3.0.0. Each commit should be understandable on its own. The main highlights are as follows:
Removes the cursed self-feeding structure of buildSrc files referenced in the buildscript, and copied over to the root project's main sourceset. This simplifies build logic significantly, at the cost of losing the automatic changelog (which is replaced by manually-written release notes) and a bit of a bulky addition to the buildscript for publishing repository management.
The license header is changed to reference NeoForged. Existing license headers are kept.
The package has been relocated from net.minecraftforge.gradleutils to net.neoforged.gradleutils.
@CompileStatic has been applied to the Groovy classes (both pre-existing and newly-migrated from Java), for better compile-time checking by removing usages of dynamic shenaniganry Groovy features.
This more or less resolves #4. Further changes will be done (on the main branch) for adapting TeamCity to the new manual versioning paradigm.
This PR does a lot of cleanup and refactors to GradleUtils, in preparation for a new major version 3.0.0. Each commit should be understandable on its own. The main highlights are as follows:
cursedself-feeding structure ofbuildSrc
files referenced in the buildscript, and copied over to the root project's main sourceset. This simplifies build logic significantly, at the cost of losing the automatic changelog (which is replaced by manually-written release notes) and a bit of a bulky addition to the buildscript for publishing repository management.net.minecraftforge.gradleutils
tonet.neoforged.gradleutils
.@CompileStatic
has been applied to the Groovy classes (both pre-existing and newly-migrated from Java), for better compile-time checking by removing usages of dynamicshenaniganryGroovy features.This more or less resolves #4. Further changes will be done (on the main branch) for adapting TeamCity to the new manual versioning paradigm.