Class ProcessAot

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
org.springframework.boot.gradle.tasks.aot.ProcessAot
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, BaseExecSpec, JavaExecSpec, JavaForkOptions, ProcessForkOptions, Configurable<Task>

@CacheableTask public abstract class ProcessAot extends AbstractAot
Custom JavaExec task for ahead-of-time processing of a Spring Boot application.
Since:
3.0.0
Author:
Andy Wilkinson
  • Constructor Details

    • ProcessAot

      public ProcessAot()
  • Method Details

    • getApplicationMainClass

      @Input public abstract Property<String> getApplicationMainClass()
      Returns the main class of the application that is to be processed ahead-of-time.
      Returns:
      the application main class property
    • exec

      public void exec()
      Overrides:
      exec in class JavaExec