Open asodja opened 2 months ago
Related to #29528
If we kill Buildable
, I think we should also kill TaskDependency
. (I've never really understood how that thing worked anyway, but it's problematic for other reasons, too, e.g. because it assumes things can only be built by Task
s specifically.)
There are other types that have a TaskDependency getBuildDependencies()
method, some without implementing Buildable
:
ComponentArtifactMetadata
Configuration
(is Buildable
)TextResource
(is Buildable
)Some types already have their getBuildDependencies()
methods deprecated:
FileCollectionDependency
ProjectDependency
We also have these as @Incubating
:
VisualStudioProject
VisualStudioSolution
That way we could move Provider/Property/FileCollection interfaces out of
:core-api
. Also we could use Provider API in:process-services
project (ProcessForkOptions
,ExecSpec
,BaseExecSpec
).https://github.com/gradle/gradle/blob/b0032a8a355379e5868b22d660f8be5cf857168e/subprojects/core-api/src/main/java/org/gradle/api/Buildable.java#L24