public interface AsciidoctorTaskBaseDirConfiguration
Getters in this interface are all annotated with Internal as they should be participate in
task properties for up to date checks.
| Modifier and Type | Method and Description |
|---|---|
void |
baseDirFollowsSourceDir()
The base dir will be the same as the source directory.
|
void |
baseDirFollowsSourceFile()
Sets the basedir to be the same directory as each individual source file.
|
void |
baseDirIsProjectDir()
Sets the basedir to be the same directory as the current project directory.
|
void |
baseDirIsRootProjectDir()
Sets the basedir to be the same directory as the root project directory.
|
default java.io.File |
getBaseDir()
Base directory (current working directory) for a conversion.
|
java.io.File |
getBaseDir(java.lang.String lang)
Base directory (current working directory) for a conversion.
|
org.gradle.api.provider.Provider<java.io.File> |
getBaseDirProvider()
Provider of the base directory.
|
org.asciidoctor.gradle.base.BaseDirStrategy |
getBaseDirStrategy()
Returns the current basedir strategy if it has been configured.
|
boolean |
isBaseDirConfigured()
Checks whether an explicit strategy has been set for base directory.
|
void |
setBaseDir(java.lang.Object f)
Sets the base directory for a conversion.
|
void baseDirFollowsSourceDir()
If an intermediate working directory is used, the the base dir will be where the source directory is located within the temporary working directory.
void baseDirFollowsSourceFile()
void baseDirIsProjectDir()
void baseDirIsRootProjectDir()
@Internal @Nullable default java.io.File getBaseDir()
nulljava.io.File getBaseDir(java.lang.String lang)
getBaseDir().lang - Language in use@Internal org.gradle.api.provider.Provider<java.io.File> getBaseDirProvider()
@Nullable @Internal org.asciidoctor.gradle.base.BaseDirStrategy getBaseDirStrategy()
@Internal boolean isBaseDirConfigured()
true if a strategy has been configured.void setBaseDir(java.lang.Object f)
The base directory is used by AsciidoctorJ to set a current working directory for
a conversion. If never set, then project.projectDir will be assumed to be the base directory.
f - Base directory