Package ca.stellardrift.gitpatcher
Interface RepoPatchDetails
public interface RepoPatchDetails
-
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.getName()Get the name of thisRepoPatchDetails.org.gradle.api.file.DirectoryPropertyThe folder where the patches are savedorg.gradle.api.file.DirectoryPropertygetRoot()The root/project directory.org.gradle.api.provider.Property<String>The name of the submodule directory created.org.gradle.api.file.DirectoryPropertyThe target folder for the patched repository.
-
Method Details
-
getName
String getName()Get the name of thisRepoPatchDetails.- Returns:
- the name
-
getRoot
org.gradle.api.file.DirectoryProperty getRoot()The root/project directory.This usually does not need to be manually set.
- Returns:
- the root
- Since:
- 1.1.0
-
getSubmodule
org.gradle.api.provider.Property<String> getSubmodule()The name of the submodule directory created.- Returns:
- the submodule
- Since:
- 1.1.0
-
getTarget
org.gradle.api.file.DirectoryProperty getTarget()The target folder for the patched repository.- Returns:
- the target folder
- Since:
- 1.1.0
-
getPatches
org.gradle.api.file.DirectoryProperty getPatches()The folder where the patches are saved- Returns:
- the patch directory
- 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
-