api / org.gradle.api / Project / getParent

getParent

@Nullable abstract fun getParent(): Project

Returns the parent project of this project, if any.

Return
The parent project, or null if this is the root project.