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 Classes
    Modifier and Type
    Class
    Description
    static interface 
    Configuration of a Jextract installation that can be used by this task
    static interface 
    Configuration of a local Jextract installation
    static interface 
    Configuration of a downloadable Jextract version

    Nested 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
    Constructor
    Description
    Used by Gradle
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.file.RegularFileProperty
    The library header file to generate bindings for
    abstract org.gradle.api.provider.ListProperty<@NonNull org.gradle.api.file.Directory>
    All directories to append to the list of include search paths
    abstract org.gradle.api.provider.Property<@NonNull JextractBaseTask.JextractInstallation>
    Configures which Jextract installation should be used
    protected abstract org.gradle.api.provider.Property<@NonNull JextractStore>
    A build service to run Jextract commands

    Methods 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, usesService

    Methods 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, setImpliesSubProjects

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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