Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dependency recommender incompatible with configure-on-demand #33

Open
henryptung opened this issue Jan 12, 2017 · 0 comments
Open

Dependency recommender incompatible with configure-on-demand #33

henryptung opened this issue Jan 12, 2017 · 0 comments
Labels

Comments

@henryptung
Copy link

This commit added support for traversing project dependencies. However, the ProjectDependency.getProjectConfiguration() call assumes that the downstream project has already been notified of pre-resolution, and evaluated itself if necessary. This is not true until ProjectDependencyInternal.beforeResolved() is called. As such, errors like the following currently occur:

Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* Where:
Script '<omitted>' line: 13

* What went wrong:
A problem occurred configuring project ':<omitted>'.
> Exception thrown while executing model rule: PublishingPlugin.Rules#publishing(ExtensionContainer)
   > Configuration with name 'default' not found.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants