Interface GradleEnterpriseListener


  • public interface GradleEnterpriseListener
    Allows to interact with the Gradle Enterprise Maven extension.
    Since:
    1.11
    • Method Detail

      • configure

        void configure​(GradleEnterpriseApi api,
                       @Nullable
                       MavenSession session)
                throws Exception
        Allows configuring the Gradle Enterprise Maven extension via the Gradle Enterprise API. This callback is guaranteed to be taken into account by the Gradle Enterprise Maven extension, even in case of catastrophic build failures, such as a very early unexpected exception.
        Parameters:
        api - the Gradle Enterprise API
        session - the Maven session. Can be null in case of a very early error, before the Maven session is started
        Throws:
        Exception
        Since:
        1.11