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 Summary

    Modifier and Type
    Method
    Description
    void
    configure(GradleEnterpriseApi api, @Nullable MavenSession session)
    Deprecated.
    Allows configuring the Gradle Enterprise Maven extension via the Gradle Enterprise API.
  • Method Details

    • configure

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