Class AspectJRuntime

java.lang.Object
io.freefair.gradle.plugins.aspectj.internal.AspectJRuntime

public class AspectJRuntime extends Object
See Also:
  • Constructor Details

    • AspectJRuntime

      public AspectJRuntime(Project project)
  • Method Details

    • inferAspectjClasspath

      public FileCollection inferAspectjClasspath(FileCollection classpath)
      Searches the specified class path for AspectJ Jars (aspectjrt, aspectjweaver) and returns a corresponding class path for executing AspectJ tools such as the ajc compiler. The tool versions will match those of the AspectJ Jars found.

      The returned class path may be empty, or may fail to resolve when asked for its contents.

      Parameters:
      classpath - a class path containing AspectJ Jars
      Returns:
      a corresponding class path for executing AspectJ tools such as the AspectJ compiler
      See Also: