mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-25 07:45:53 +03:00
[PR #500] Improve GRADLE build Performance #495
Labels
No labels
Bug report
Code improvement
Concern
Feature request
Feature request
Good first issue to work on
In progress
Needs info
Question
Ready
Translation
User Experience
User Experience
Website
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SMSSync#495
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ushahidi/SMSSync/pull/500
Author: @ChenZhangg
Created: 10/13/2021
Status: 🔄 Open
Base:
master← Head:Modify_GRADLE_2📝 Commits (2)
7bf2d88Improve GRADLE build Performanceee2399aUpdate build.gradle📊 Changes
1 file changed (+11 additions, -1 deletions)
View changed files
📝
build.gradle(+11 -1)📄 Description
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-PcreateReportsto the end of Gradle's build command line.Process forking options. Gradle will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork a new test VM after a certain number of tests have run by setting
forkEvery.Incremental compilation. Gradle recompile only the classes that were affected by a change. This feature is the default since Gradle 4.10. For an older versions, we can activate it by setting
options.incremental = true.=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.