"Simplify RSPSI build process with custom Gradle task and pre-configured output directory" #7
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.
Pull Request Description: Simplifying the RSPSI Build Process with a Custom Gradle Task
Overview:
This pull request introduces a significant improvement to the Gradle build process for the
blurite/RSPsi
project. The primary goal is to simplify the user experience by consolidating multiple build steps into a single, streamlined task. This change is particularly beneficial for users who may not be familiar with the intricacies of setting up RSPSI and its plugins.Key Changes:
Custom Gradle Task:
RSPSIJarDist
has been implemented. This task replaces the need to run two separate tasks (build
andassemble
) to generate the editor JAR and plugins../gradlew RSPSIJarDist
.Output Directory Structure:
build/libs
directory, the new task creates a dedicated output directory atD:/dev/RSPSi/RSPSI-Jar/
.plugins
folder withactive
andinactive
subdirectories. This setup ensures that the environment is ready to use immediately after the build process completes.Simplified User Experience:
Output Directory Example:
Testing and Compatibility:
Why This Change is Important:
Conclusion:
This pull request represents a meaningful improvement to the build process, making it easier and more efficient for users to get started with RSPSI. The new
RSPSIJarDist
task simplifies the workflow, reduces the potential for errors, and ensures that the output is ready to use right out of the box.