Class ProjectCoordinates

java.lang.Object
com.cleanroommc.gradle.api.util.lazy.ProjectCoordinates

public final class ProjectCoordinates extends Object
The project's group, version and Maven repository URLs, as of the end of evaluation.

A pipeline is registered when its mode is picked, which is usually before the buildscript sets any of them, so anything that names them reads this rather than Project.getGroup() and friends.

  • Constructor Details

    • ProjectCoordinates

      public ProjectCoordinates(org.gradle.api.Project project)
  • Method Details

    • getGroup

      public org.gradle.api.provider.Provider<String> getGroup()
    • getVersion

      public org.gradle.api.provider.Provider<String> getVersion()
    • getRepositoryUrls

      public org.gradle.api.provider.Provider<Map<String,String>> getRepositoryUrls()