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

Follow the dependencies between the submodules during the release #314

Closed
kboom opened this issue Dec 31, 2019 · 2 comments
Closed

Follow the dependencies between the submodules during the release #314

kboom opened this issue Dec 31, 2019 · 2 comments

Comments

@kboom
Copy link

kboom commented Dec 31, 2019

Maintaining separate versions for sub-projects is very useful but then releasing must be done with care - projects with internal dependencies need to be released manually one after the other - dependencies first. It would be great to:

  1. Make the release task understand this and release the dependencies (if necessary) before attempting to release a selected module
  2. Make the release task release all modules of a gradle project according to a safe order.

Currently typing -Prelease.useHighestVersion -Prelease.disableChecks -Prelease.pushTagsOnly on the top level project won't work:

The project uses snapshot versions - can't release. Snapshots found: ...

Doing that from a scope of a project with dependencies won't work either. Of course this happens only when we use dependency(project(":submodule")) notation rather than dependency("my project:mymodule:x.y.z) which would be difficult to maintain

@adamdubiel
Copy link
Collaborator

Looks like task dependencies problem, can't it be achieved using custom task in Gradle with specified dependencies?

@john-tipper
Copy link
Contributor

I have addressed this issue in PR #326.

john-tipper added a commit to john-tipper/axion-release-plugin that referenced this issue Jan 29, 2020
@bgalek bgalek closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
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

No branches or pull requests

4 participants