api / org.gradle.tooling.model.gradle / ProjectPublications

ProjectPublications

interface ProjectPublications : Model, ProjectModel

A model providing information about the publications of a Gradle project.

Since
1.12

Functions

getProjectIdentifier

abstract fun getProjectIdentifier(): ProjectIdentifier

Returns the identifier for the Gradle project that these publications originate from.

getPublications

abstract fun getPublications(): DomainObjectSet<out GradlePublication>

Returns the publications for this project.