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

Packaging tasks do not check if package is already built #173

Closed
wenslayer opened this issue Apr 17, 2015 · 4 comments
Closed

Packaging tasks do not check if package is already built #173

wenslayer opened this issue Apr 17, 2015 · 4 comments
Milestone

Comments

@wenslayer
Copy link
Contributor

It appears that the package and packageMobile tasks do not declare their outputs, which means no up-to-date checks are run.

Repro:

  • Run package or packageMobile on a project (that obviously provides suitable configuration).
  • Confirm package artifact is produced in build directory.
  • Re-run same task.

Expected Result:

  • Gradle outputs UP-TO-DATE when attempting to perform the packaging task.

Actual Result:

  • Gradle rebuilds the package artifact.
@wenslayer
Copy link
Contributor Author

Ouch, this really hurts when using install* and uninstall* tasks, as they will always cause the package to be rebuilt, which can be 10's of minutes in our case. (Just in case you haven't seen this, @SlevinBE)

@SlevinBE
Copy link
Member

I've seen it, just haven't had the time to fix it ;)

@wenslayer
Copy link
Contributor Author

Can this issue be closed now that #179 has been merged?

@SlevinBE SlevinBE added this to the Next milestone May 2, 2015
@SlevinBE
Copy link
Member

SlevinBE commented May 2, 2015

You're right, it can :)

@SlevinBE SlevinBE closed this as completed May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants