Reues Artifacts in Multi Project Build

Hi,
I have three Projects A,B,C.
Project B and C have subfolder that need to be zipped.
Project A depends on Project B and the zipped file of B needs to be unzipped and added to a folder in Project A.
Now Project B depends on Project C, so also the zip file of Project C needs to be unzippped into the folder in Project A.

I’d like to get some configurations to get this working. Zipping and Unzipping is working, but the dependencies are not resolved as I need it. What do I have to do?

Found the solutuion here
https://docs.gradle.org/current/userguide/cross_project_publications.html