API to retrieve path to Gradle build artifact(s)?

Given an IDEA Gradle module, is there an API call available to programmatically fetch the path to the target Gradle build artifact(s)?

Maven has an equivalent concept using the following:

In org.jetbrains.idea.maven.project

MavenProject#getBuildDirectory()
MavenProject#getFinalName()
MavenProject#getPackaging()

Does the Gradle plugin (or otherwise) have a similar capability? 

I noticed that 

com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager

had a now deprecated call to get an ExternalProjectDataService which provided a (still not very robust) way to get a handle on the build directory.

Please sign in to leave a comment.