melix
04/15/2024, 3:56 PMdetachedConfiguration
with the configuration cache? I'm seeing something strange. Until now I had a task invoking project.getConfigurations().detachedConfiguration()
at execution time. Now, I replaced project.getConfigurations
with an injected property:
@Inject
protected abstract ConfigurationContainer getConfigurations()
The task still works if I don't use the configuration cache, but as soon as I enable it, it fails with:
> Some modules couldn't be updated because of the following reasons:
- awesome.lib:awesome:+ -> Cannot resolve external dependency awesome.lib:awesome:+ because no repositories are defined.
as if repositories were ignored...