Interface MojoMetadataProvider


  • public interface MojoMetadataProvider
    Allows users to configure caching for Mojos that the Gradle Enterprise Maven Extension does not support out of the box.
    Since:
    1.15
    • Method Detail

      • provideMetadata

        void provideMetadata​(MojoMetadataProvider.Context context)
        Called for each goal as Maven is about to execute it. The context object provides access to the goal and allows users to customize its caching.
        Parameters:
        context - provides access to the mojo execution and allows users to customize the inputs and outputs
        Since:
        1.15