Class ProcessTestAot

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.ProcessTestAot
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>

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

    • ProcessTestAot

      public ProcessTestAot()
  • Method Details

    • getClasspathRoots

      @InputFiles @PathSensitive(RELATIVE) public final FileCollection getClasspathRoots()
      Returns the classpath roots that should be scanned for test classes to process.
      Returns:
      the classpath roots
    • setClasspathRoots

      public void setClasspathRoots(FileCollection classpathRoots)
      Sets the classpath roots that should be scanned for test classes to process.
      Parameters:
      classpathRoots - the classpath roots
    • exec

      public void exec()
      Overrides:
      exec in class JavaExec