Skip to content

GEODE-5492 Fix gradle dependencies to enable reliable parallel build#2217

Merged
jake-at-work merged 2 commits intoapache:developfrom
robbadler:feature/GEODE-5492
Jul 30, 2018
Merged

GEODE-5492 Fix gradle dependencies to enable reliable parallel build#2217
jake-at-work merged 2 commits intoapache:developfrom
robbadler:feature/GEODE-5492

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 27, 2018

  • distZip and distTar tasks wait for all 'jar' tasks to finish
  • geode-assembly:docs depends on all project's javadoc task
  • geode-core 'jar' depends on the version properties file
  • version properties file runs after compileJava
  • geode-pulse 'war' depends on the webJar, instead of only including it
  • fixed download of geode-old-versions to run after clean, even when
    specified backwards on the command line
  • srcJar no longer includes the IntelliJ output directory

Co-authored-by: Patrick Rhomberg prhomberg@pivotal.io
Co-authored-by: Finn Southerland fsoutherland@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.

outputs.file propertiesFile
inputs.dir "../.git/index"

mustRunAfter(compileJava)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should not be necessary anymore since it only depends on git index.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed, committed, and rebased to origin/develop

FSOUTHERLAND and others added 2 commits July 30, 2018 09:36
- distZip and distTar tasks wait for all 'jar' tasks to finish
- geode-assembly:docs depends on all project's javadoc task
- geode-core 'jar' depends on the version properties file
- version properties file runs after compileJava
- geode-pulse 'war' depends on the webJar, instead of only including it
- fixed download of geode-old-versions to run after clean, even when
  specified backwards on the command line
- srcJar no longer includes the IntelliJ output directory

Co-authored-by: Patrick Rhomberg <prhomberg@pivotal.io>
Co-authored-by: Finn Southerland <fsoutherland@pivotal.io>
Task no longer must run before geode-core:compileJava because it depends
on .git/index, not sources

Signed-off-by: Dick Cavender <dcavender@pivotal.io>
@ghost ghost force-pushed the feature/GEODE-5492 branch from 9df70f0 to a8deb73 Compare July 30, 2018 16:36
@jake-at-work jake-at-work merged commit e505ec8 into apache:develop Jul 30, 2018
@ghost ghost deleted the feature/GEODE-5492 branch August 21, 2018 16:32
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