Class AbstractAot

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.JavaExec
org.springframework.boot.gradle.tasks.aot.AbstractAot
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, BaseExecSpec, JavaExecSpec, JavaForkOptions, ProcessForkOptions, Configurable<Task>
Direct Known Subclasses:
ProcessAot, ProcessTestAot

@DisableCachingByDefault(because="Cacheability can only be determined by a concrete implementation") public abstract class AbstractAot extends JavaExec
Specialization of JavaExec to be used as a base class for tasks that perform ahead-of-time processing.
Since:
3.0.0
Author:
Andy Wilkinson
  • Constructor Details

    • AbstractAot

      protected AbstractAot()
  • Method Details

    • getGroupId

      @Input public final Property<String> getGroupId()
      The group ID of the application that is to be processed ahead-of-time.
      Returns:
      the group ID property
    • getArtifactId

      @Input public final Property<String> getArtifactId()
      The artifact ID of the application that is to be processed ahead-of-time.
      Returns:
      the artifact ID property
    • getSourcesOutput

      @OutputDirectory public final DirectoryProperty getSourcesOutput()
      The directory to which AOT-generated sources should be written.
      Returns:
      the sources directory property
    • getResourcesOutput

      @OutputDirectory public final DirectoryProperty getResourcesOutput()
      The directory to which AOT-generated resources should be written.
      Returns:
      the resources directory property
    • getClassesOutput

      @OutputDirectory public final DirectoryProperty getClassesOutput()
      The directory to which AOT-generated classes should be written.
      Returns:
      the classes directory property