Class NarrativeTracePlugin

java.lang.Object
ai.narrativetrace.gradle.NarrativeTracePlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class NarrativeTracePlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin that auto-configures NarrativeTrace for Java projects.

INTENT: Apply this plugin to Java projects that should automatically get NarrativeTrace dependencies, compiler flags, test configuration, and clarity tasks.

@llmNote Task registration and compiler flags are configured lazily via withId("java",...). Dependency resolution, validation, and test task system properties remain in afterEvaluate because they read eagerly-evaluated extension properties.

  • Constructor Details

    • NarrativeTracePlugin

      public NarrativeTracePlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>