Jendrik Johannes
02/02/2022, 9:05 AMResolvedArtifactResult
as task input (https://github.com/gradle/gradle/pull/19119). Is there an issue to track the progress and get notified once this is available? (I couldn’t find one linked from the PR.)
I am writing a task now that needs ResolvedArtifactResult
(or something similar). Can/should I declare the input of my task like this already?
@InputFiles abstract SetProperty<ResolvedArtifactResult> getResolvedArtifacts()
I guess I could set that using provider { configurations.runtimeClasspath.... }
. But I probably loose the the dependencies then. 🤔
Or should I just use the Configuration
as input directly for now?
@InputFiles abstract Provider<Configuration> getResolvedArtifacts()
Does that work (without configuration cache)?Jendrik Johannes
02/02/2022, 9:37 AMResolvedComponentResult
because I want to look at the dependencies.Anze Sodja
02/02/2022, 1:58 PMJendrik Johannes
02/02/2022, 4:04 PMJendrik Johannes
02/03/2022, 11:21 AM