Interface GradleProject

    • Method Detail

      • getParent

        GradleProject getParent()
        Returns the parent of this element, or null if there is no parent.
        Specified by:
        getParent in interface HierarchicalElement
        Returns:
        The parent of this element, or null if there is no parent.
      • getPath

        String getPath()
        Returns the path of this project. This is a unique identifier for this project within the build.
        Returns:
        The path.
      • findByPath

        @Nullable
        GradleProject findByPath​(String path)
        Searches all descendants (children, grand-children, etc.), including self, by given path.
        Returns:
        Gradle project with matching path or null if not found.
      • getProjectDirectory

        File getProjectDirectory()
                          throws UnsupportedMethodException
        Returns the project directory for this project.
        Returns:
        The project directory.
        Throws:
        UnsupportedMethodException - For Gradle versions older than 2.4, where this method is not supported.
        Since:
        2.4