Package ca.stellardrift.gitpatcher
Interface GitPatcherExtension
public interface GitPatcherExtension
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean>Whether to add the patched repo to git's safe directories list.org.gradle.api.provider.Property<String>A temporary committer name to use for applied patches.org.gradle.api.provider.Property<String>A temporary committer name to use for applied patches.org.gradle.api.NamedDomainObjectContainer<RepoPatchDetails>Container holding the repos to patch.
-
Method Details
-
getPatchedRepos
org.gradle.api.NamedDomainObjectContainer<RepoPatchDetails> getPatchedRepos()Container holding the repos to patch.Each
RepoPatchDetailswill have aapply[CapitalizedName]Patches,make[CapitalizedName]Patches, andupdate[CapitalizedName]Submodulestask.applyPatches,rebuildPatches, andupdateSubmodulesdepend 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
-