Class SoutherCompile

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
souther.gradle.SoutherCompile
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>

public abstract class SoutherCompile extends org.gradle.api.DefaultTask
Compiles this project's Souther sources.
  • Nested Class Summary

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.file.ConfigurableFileCollection
    What an import of another project's module resolves against.
    abstract org.gradle.api.provider.Property<String>
     
    abstract org.gradle.api.file.DirectoryProperty
     
    abstract org.gradle.api.file.DirectoryProperty
    The root the sources are under, which is what the compiler is pointed at.
    abstract org.gradle.api.file.ConfigurableFileCollection
    The .sou themselves, so that editing one is not up to date — the arrangement this plugin replaces had to be told that by hand, and a build that was not told produced the previously generated classes.
    abstract org.gradle.api.file.DirectoryProperty
    What the compile keeps between runs: the record of what it generated, which is how a class it no longer generates is taken back out.
    abstract org.gradle.api.file.ConfigurableFileCollection
    The Souther that runs the compile: souther-build-driver and everything behind it.
    protected abstract org.gradle.workers.WorkerExecutor
     

    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, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, 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

    • SoutherCompile

      public SoutherCompile()
  • Method Details

    • getSourceFiles

      @InputFiles @SkipWhenEmpty @PathSensitive(RELATIVE) public abstract org.gradle.api.file.ConfigurableFileCollection getSourceFiles()
      The .sou themselves, so that editing one is not up to date — the arrangement this plugin replaces had to be told that by hand, and a build that was not told produced the previously generated classes.

      Skipped when empty, which is how a project with no Souther in it is left alone.

    • getSourceDirectory

      @Internal public abstract org.gradle.api.file.DirectoryProperty getSourceDirectory()
      The root the sources are under, which is what the compiler is pointed at.
    • getToolchain

      @Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getToolchain()
      The Souther that runs the compile: souther-build-driver and everything behind it.
    • getCompileClasspath

      @Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getCompileClasspath()
      What an import of another project's module resolves against.
    • getOutputDirectory

      @OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputDirectory()
    • getStateDirectory

      @OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getStateDirectory()
      What the compile keeps between runs: the record of what it generated, which is how a class it no longer generates is taken back out. An output of this task, so a clean takes it too.
    • getLanguage

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getLanguage()
    • getWorkerExecutor

      @Inject protected abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()