I’m a newb in gradle, so the question maybe very silly… I created a build.gradle which is going to be reused in many other projects. I feel it’s bit stupid to deploy that build.gradle in every (sub)project. The file structure will be the same, all subtasks will be the same, so it’s a lot of similarities. There maybe tiny configuration changes (either to run one of tasks in that build.gradle) across projects.
What is the best way to proceed from here to make it more supportable, to avoid copying the build.gradle into each project? I think about custom plugin/task maybe? Not sure, what the proper way is.