Skip to content

GEODE-6323 Fix dependency tracking for manifest jars#3126

Merged
PurelyApplied merged 2 commits intoapache:developfrom
PurelyApplied:geode-6323
Feb 9, 2019
Merged

GEODE-6323 Fix dependency tracking for manifest jars#3126
PurelyApplied merged 2 commits intoapache:developfrom
PurelyApplied:geode-6323

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jan 25, 2019

doFirst is a bad idea with respect to configuration caching in Gradle.
Replace with a separate task to generate the requested classpath. See
https://guides.gradle.org/using-build-cache/#suggestions_for_authoring_your_build

Gradle task-inputs create dependencies, but dependency declaration does
not generate input coupling.

Co-authored-by: Robert Houghton rhoughton@pivotal.io
Co-authored-by: Patrick Rhomberg prhomberg@pivotal.io

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:

Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

`doFirst` is a bad idea with respect to configuration caching in Gradle.
Replace with a separate task to generate the requested classpath. See
https://guides.gradle.org/using-build-cache/#suggestions_for_authoring_your_build

Gradle task-inputs create dependencies, but dependency declaration does
not generate input coupling.

Co-authored-by: Robert Houghton <rhoughton@pivotal.io>
Co-authored-by: Patrick Rhomberg <prhomberg@pivotal.io>
@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 25, 2019

@Bill This should answer your concern about the depsJars being stale

Authored-by: Robert Houghton <rhoughton@pivotal.io>
@ghost ghost requested a review from PurelyApplied January 30, 2019 22:21
Copy link
Copy Markdown
Contributor

@onichols-pivotal onichols-pivotal left a comment

Choose a reason for hiding this comment

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

these will be welcome build improvements

@PurelyApplied PurelyApplied merged commit bcd82ae into apache:develop Feb 9, 2019
@PurelyApplied PurelyApplied deleted the geode-6323 branch March 13, 2019 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants