3.0 - Full rewrite, Gradle 9, Java-centric API #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GradleUtils 3.0 refocuses itself on being a lightweight Gradle plugin with the intent of providing some additional functionality for consumers.
Shared Utilities
GradleUtils now includes a public package,
net.minecraftforge.gradleutils.shared
, that is designed to be used by our plugins to reduce duplicate code and standardize how they operate.Git Version Plugin split
Git Version is no longer included and is now an optional integration. It will be developed in the
gradle-plugin
folder in MinecraftForge/GitVersion. This also includes the changelog functionality.Git Version:
net.minecraftforge.gitversion
Git Changelog:
net.minecraftforge.changelog
@CompileDynamic
to avoid a hard dependency on it. The Git Version plugin depends on GradleUtils which would cause a circular dependency.PomUtils#addRemoteDetails(MavenPom)
without the URL) will now display warnings or throw errors ifnet.minecraftforge.gitversion
is not applied.API Restructuring
The API is exclusively in Java and will now play nice with JavaDocs and DSL linting (Groovy and Kotlin).
The only code in the plugin that uses Groovy are internal implementations that cannot be accessed publicly.