Interface GitPatcherExtension


public interface GitPatcherExtension
  • Method Details

    • getPatchedRepos

      org.gradle.api.NamedDomainObjectContainer<RepoPatchDetails> getPatchedRepos()
      Container holding the repos to patch.

      Each RepoPatchDetails will have a apply[CapitalizedName]Patches, make[CapitalizedName]Patches, and update[CapitalizedName]Submodules task.

      applyPatches, rebuildPatches, and updateSubmodules depend on the respective tasks of all registered repos.

      Returns:
      repo container
      Since:
      1.1.0
    • getAddAsSafeDirectory

      org.gradle.api.provider.Property<Boolean> getAddAsSafeDirectory()
      Whether to add the patched repo to git's safe directories list.
      Returns:
      the add as safe directory property
      Since:
      1.1.0
    • getCommitterNameOverride

      org.gradle.api.provider.Property<String> getCommitterNameOverride()
      A temporary committer name to use for applied patches.
      Returns:
      the committer name property
      Since:
      1.1.0
    • getCommitterEmailOverride

      org.gradle.api.provider.Property<String> getCommitterEmailOverride()
      A temporary committer name to use for applied patches.
      Returns:
      the committer name property
      Since:
      1.1.0