How to get the archive name of a project's jarfile using the gradle API

Title says it all. Is it possible to get the name of a Project’s jarfile name from the Project object?

Yes. Depends on what you mean by “name”. The name is something like foo-1.0.jar and the “path” is /Users/me/workspaces/project/build/libs/foo-1.0.jar. I’ll assume you mean the latter :slight_smile: