prezi / gradle

A powerful build system for the JVM
www.gradle.org
0 stars 0 forks source link

ConfigurationOnDemandIntegrationTest.respects buildProjectDependencies setting #16

Closed lptr closed 9 years ago

lptr commented 9 years ago

The problem here is that we don't respect the command-line option --no-rebuild. It gets passed to DefaultProjectDependency.buildProjectDependencies, but when having removed the SelfResolvingDependency nature of ProjectDependency, that piece of code was deleted:

https://github.com/prezi/gradle/commit/77106cbf06cff3d27346b07d1fac8156290e4183#diff-2d277633879a0ce8d1b14b1af52dbf93L159

lptr commented 9 years ago

A solution could be to retain this info in ResolvedProjectConfigurationResults. To do that, it should contain information about ProjectDependencys instead of Projects.

lptr commented 9 years ago

Fixed in f37a33a65b022a53084e9f2c30fcf80bcd98d875