Slackbot
07/09/2022, 9:37 PMChris Lee
07/10/2022, 12:21 AMdoFirst block in processResources? Hard to say without understanding what you’re trying to accomplish.Francisco Solis
07/10/2022, 12:25 AM@test@ into the source files and the resource files, everything works with the source files. The files are processed and saved to build/source/resources/ but I don't know how to make it so the ProcessReaources task use as input said folder instead of the src/main/resources folderVampire
07/10/2022, 12:27 AMfilter or expand instead.Chris Lee
07/10/2022, 12:28 AMFrancisco Solis
07/10/2022, 12:30 AMChris Lee
07/10/2022, 12:31 AMCopySpec for details on that.Francisco Solis
07/10/2022, 12:32 AMFrancisco Solis
07/10/2022, 12:32 AMFrancisco Solis
07/10/2022, 4:37 AMProcessResources#from(Project#files(File)) I’ve added the custom source dir, and then using ProcessResources#eachFile I’ve filtered and excluded the files that were not included in the custom source dir (since the tokens are replaced on every resource) It may not be the best approach, but it works :p