Package com.gradle.maven.extension.api
Interface GradleEnterpriseListener
-
@Deprecated public interface GradleEnterpriseListener
Deprecated.since 1.21, replaced byDevelocityListener
Allows to interact with the Gradle Enterprise Maven extension.- Since:
- 1.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods 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 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 APIsession
- the Maven session. Can benull
in case of a very early error, before the Maven session is started- Throws:
java.lang.Exception
- Since:
- 1.11
-
-