PrisonTeam / Prison

The home of the Prison project, a Minecraft plugin to provide mining and ranking gameplay experience.
https://www.spigotmc.org/resources/prison.1223/
Other
131 stars 48 forks source link

Improve GRADLE build Performance #225

Closed i-Taozi closed 2 years ago

i-Taozi commented 2 years ago

Parallel test execution maxParallelForks. Gradle can run multiple test cases in parallel by setting maxParallelForks.

Disable report generation. We can conditionally disable it by setting reports.html.required = false; reports.junitXml.required = false. If you need to generate reports, add -PcreateReports to the end of Gradle's build command line.

===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

rbluer commented 2 years ago

Thanks for the suggestion, but at this time I cannot pull this request. The benefits may not be that significant. There are very few unit tests in this project and running the few that exist in parallel will not yield much of a gain.
Also, I will not merge untested code with master. Thanks for the suggestion though, I do appreciate it.