Class QueryBranch<V>

Type Parameters:
V - the value type
All Implemented Interfaces:
org.gradle.api.provider.ValueSource<V,RepositoryValueSource.Parameters>
Direct Known Subclasses:
QueryBranch.Name

public abstract class QueryBranch<V> extends MappedRepositoryValueSource.Parameterless<org.eclipse.jgit.lib.Ref,V>
A MappedRepositoryValueSource that obtains values from the current branch, or null if the project is not in a git repository or is checked out to a detached HEAD.
  • Constructor Details

    • QueryBranch

      public QueryBranch()
  • Method Details