Class ProjectDependencies

java.lang.Object
org.ek9lang.core.ProjectDependencies

public final class ProjectDependencies extends Object
THE place a dependency's copy lives in a project (<project>/.ek9/deps/<vector>/, D-M2, P2; docs/implementation/EK9_P2_P3_PLAN.md §1.1, §1.3): the twin of DependencyInstallation, but rooted on THIS project's .ek9/deps/ folder rather than the shared library. Made by FileHandling.projectDependencies(String). Once a project is resolved, a compile reads a dependency's source and resources from here - never from the library again (the library is read only at resolution).
  • Constructor Details

    • ProjectDependencies

      ProjectDependencies(File root)
  • Method Details

    • root

      public File root()
      The .ek9/deps/ folder itself - every accepted dependency's copy lives directly under it (used to enumerate or prune the whole set). Never created here.
    • copyDirectory

      public File copyDirectory(String dependencyVector)
      The folder a dependency's copy lives in, given the dependency vector (name-version) it was resolved from.