Package org.gradle.tooling.model.gradle
Interface GradlePublication
- All Superinterfaces:
ProjectModel
Represents some publication produced by a Gradle project, typically to a Maven or Ivy repository.
- Since:
- 1.12
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the unique identifier of the publication.Returns the identifier for the Gradle project that this publication originates from.
-
Method Details
-
getProjectIdentifier
ProjectIdentifier getProjectIdentifier()Returns the identifier for the Gradle project that this publication originates from.- Specified by:
getProjectIdentifier
in interfaceProjectModel
- Since:
- 3.3
-
getId
GradleModuleVersion getId()Returns the unique identifier of the publication.- Returns:
- the unique identifier of the publication
-