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

Optimize incremental builds and local build cache usage #1807

Merged
merged 3 commits into from
Sep 12, 2022

Conversation

jean-andre-gauthier
Copy link
Contributor

  • Optimize incremental builds
    • Replace copyJavadocDocFiles workaround by javadoc sourcepath
    • Specify output dir in generateManpageAsciiDoc task
    • Specify output file in generateVersionTxt task
  • Optimize local build cache usage
    • Add normalization for manifest.mf to ignore Bnd-LastModified attribute
    • Add normalization for version.txt in 'picocli-examplesto ignoreBuildtime` property

- Optimize incremental builds
  - Replace copyJavadocDocFiles workaround by javadoc sourcepath
  - Specify output dir in generateManpageAsciiDoc task
  - Specify output file in generateVersionTxt task
- Optimize local build cache usage
  - Add normalization for manifest.mf to ignore Bnd-LastModified attribute
  - Add normalization for version.txt in 'picocli-examplesto ignoreBuildtime` property
@jean-andre-gauthier
Copy link
Contributor Author

@runningcode FYI

runningcode
runningcode previously approved these changes Sep 9, 2022
Copy link

@runningcode runningcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@@ -0,0 +1 @@
org.gradle.caching = false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't commit this.

Copy link
Owner

@remkop remkop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this pull request!

Overall, looks good.
I see @runningcode already added a comment on the change to gradle.properties about not disabling gradle caching.
Can you make that change, or otherwise argue the case of why this change should be included?

@remkop remkop added this to the 4.7 milestone Sep 11, 2022
@remkop remkop added type: enhancement ✨ theme: build An issue or change related to the build system labels Sep 11, 2022
@jean-andre-gauthier
Copy link
Contributor Author

Thanks very much for the review, I've removed gradle.properties as shouldn't have been committed in the first place

@jean-andre-gauthier jean-andre-gauthier marked this pull request as ready for review September 12, 2022 06:46
@remkop remkop merged commit 7e90ce6 into remkop:main Sep 12, 2022
@remkop
Copy link
Owner

remkop commented Sep 12, 2022

Merged. Thank you for the pull request!

remkop added a commit that referenced this pull request Sep 12, 2022
 Optimize incremental builds and local build cache usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: build An issue or change related to the build system type: enhancement ✨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants