Class ProjectRepositoryFunction

java.lang.Object
org.dmfs.gradle.gver.utils.ProjectRepositoryFunction
All Implemented Interfaces:
org.dmfs.jems2.FragileFunction<org.gradle.api.Project,org.eclipse.jgit.lib.Repository,IOException>, org.dmfs.jems2.ThrowingFunction<org.gradle.api.Project,org.eclipse.jgit.lib.Repository>

public final class ProjectRepositoryFunction extends Object implements org.dmfs.jems2.FragileFunction<org.gradle.api.Project,org.eclipse.jgit.lib.Repository,IOException>
A FragileFunction that returns the Repository of a given Project.
  • Field Details

  • Constructor Details

    • ProjectRepositoryFunction

      public ProjectRepositoryFunction()
  • Method Details

    • value

      public org.eclipse.jgit.lib.Repository value(org.gradle.api.Project project) throws IOException
      Specified by:
      value in interface org.dmfs.jems2.FragileFunction<org.gradle.api.Project,org.eclipse.jgit.lib.Repository,IOException>
      Specified by:
      value in interface org.dmfs.jems2.ThrowingFunction<org.gradle.api.Project,org.eclipse.jgit.lib.Repository>
      Throws:
      IOException