we are writing a custom gradle plugin for standardizing our gradle files.
The idea is to append -api, -impl, and -deployready to the uploaded artifacts.
Today,we are doing it by giving archivesBaseName=“xxx-api” in the gradle file.
How we want to do it , in the gradle file we will have serviceName=“xxx”;
the plugin must set the archivesBaseName as serviceName-api.
How to do this. i tired getting project.archivesBaseName. It is throwing error saying archivesBaseName is not found in project.