Interface GradleEnterpriseListener


  • @Deprecated
    public interface GradleEnterpriseListener
    Deprecated.
    since 1.21, replaced by DevelocityListener
    Allows to interact with the Gradle Enterprise Maven extension.
    Since:
    1.11
    • Method Detail

      • configure

        void configure​(GradleEnterpriseApi api,
                       @Nullable
                       @Nullable MavenSession session)
                throws java.lang.Exception
        Deprecated.
        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:
        java.lang.Exception
        Since:
        1.11