Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Improve the Performance of Gradle Build #1054

Closed
2 tasks done
xiaoyang-sde opened this issue Jul 31, 2022 · 0 comments · Fixed by #4689
Closed
2 tasks done

[Enhancement] Improve the Performance of Gradle Build #1054

xiaoyang-sde opened this issue Jul 31, 2022 · 0 comments · Fixed by #4689
Assignees
Labels
enhancement New feature or request

Comments

@xiaoyang-sde
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

Enhancement Request

Build performance is critical to contributor's productivity.

Describe the solution you'd like

Enable various Gradle options (e.g., parallel execution, build caching) to improve building performance.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@xiaoyang-sde xiaoyang-sde added the enhancement New feature or request label Jul 31, 2022
@xiaoyang-sde xiaoyang-sde self-assigned this Jul 31, 2022
@xiaoyang-sde xiaoyang-sde changed the title [Enhancement] Improve the Performance of Gradle Builds [Enhancement] Improve the Performance of Gradle Build Jul 31, 2022
xwm1992 pushed a commit that referenced this issue Jan 3, 2024
* remove checkstyleMain dependency on spotlessApply

spotlessApply was reformatting files on every build causing cache misses.

* limit the target of spotlessJava to just src java files

* use a TempDir for testing the onChange method, changing file in place caused cache miss

* enable gradle build cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant