Package com.gradle.maven.extension.api
Interface GradleEnterpriseListener
-
public interface GradleEnterpriseListener
Allows to interact with the Gradle Enterprise Maven extension.- Since:
- 1.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(GradleEnterpriseApi api, MavenSession session)
Allows configuring the Gradle Enterprise Maven extension via the Gradle Enterprise API.
-
-
-
Method Detail
-
configure
void configure(GradleEnterpriseApi api, @Nullable MavenSession session) throws java.lang.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 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
-
-