How to add inputs? to task by gradle

problem description

gradle task related

the environmental background of the problems and what methods you have tried

I want to add input to a three-party task during a build. The task of
task is to compare and merge several files, and now I want to generate additional files and add them to the task.

I"m not sure what to do. I know denpedsOn to my custom task, but how does my custom task find the right input and output the correct outputs to the tripartite task?

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jul.30,2021
Menu