Class AppArtifact

    • Method Detail

      • setPath

        public void setPath​(Path path)
        Associates the artifact with the given path
        Parameters:
        path - artifact location
      • getPaths

        public PathsCollection getPaths()
        Collection of the paths that collectively constitute the artifact's content. Normally, especially in the Maven world, an artifact is resolved to a single path, e.g. a JAR or a project's output directory. However, in Gradle, depending on the build/test phase, artifact's content may need to be represented as a collection of paths.
        Returns:
        collection of paths that constitute the artifact's content
      • setPaths

        public void setPaths​(PathsCollection paths)
        Associates the artifact with a collection of paths that constitute its content.
        Parameters:
        paths - collection of paths that constitute the artifact's content.
      • isResolved

        public boolean isResolved()
        Whether the artifact has been resolved, i.e. associated with paths that constitute its content.
        Specified by:
        isResolved in interface ResolvedDependency
        Returns:
        true if the artifact has been resolved, otherwise - false