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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb020e-69a20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb020e-69a20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?