Class JextractBaseTask
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
de.infolektuell.gradle.jextract.tasks.JextractBaseTask
- All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>
- Direct Known Subclasses:
JextractDumpIncludesTask, JextractGenerateTask
public abstract class JextractBaseTask
extends org.gradle.api.DefaultTask
Holds common properties for Jextract-related tasks, does nothing itself
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConfiguration of a Jextract installation that can be used by this taskstatic interfaceConfiguration of a local Jextract installationstatic interfaceConfiguration of a downloadable Jextract versionNested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.RegularFilePropertyThe library header file to generate bindings forabstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.api.file.Directory> All directories to append to the list of include search pathsabstract org.gradle.api.provider.Property<@NonNull JextractBaseTask.JextractInstallation> Configures which Jextract installation should be usedprotected abstract org.gradle.api.provider.Property<@NonNull JextractStore> A build service to run Jextract commandsMethods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, notCompatibleWithConfigurationCache
-
Constructor Details
-
JextractBaseTask
public JextractBaseTask()Used by Gradle
-
-
Method Details
-
getJextractStore
@ServiceReference("jextractStore") protected abstract org.gradle.api.provider.Property<@NonNull JextractStore> getJextractStore()A build service to run Jextract commands- Returns:
- A property that holds the injected build service
-
getInstallation
public abstract org.gradle.api.provider.Property<@NonNull JextractBaseTask.JextractInstallation> getInstallation()Configures which Jextract installation should be used- Returns:
- A property that holds the Jextract installation data
-
getIncludes
@InputFiles @PathSensitive(RELATIVE) public abstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.api.file.Directory> getIncludes()All directories to append to the list of include search paths- Returns:
- A property to configure the include search path
-
getHeader
@InputFile @PathSensitive(RELATIVE) public abstract org.gradle.api.file.RegularFileProperty getHeader()The library header file to generate bindings for- Returns:
- A property to configure the header file
-