I am customizing a build script to download & parse a POM XML, and dynamically include some of the dependencies during ‘afterEvaluate’.
You can see it here:
It works fine but I think downloading it every time is a bit of an overkill. I could store it manually inside ‘./gradle’ folder and check if it exists. But I am wondering if there’s an official way to tell the build script this needs to be cached…like inputs in a task.
cheers & thanks,