[ES Gradle Tasks] Could not find method nebula() for arguments

./gradlew -version

------------------------------------------------------------
Gradle 5.5
------------------------------------------------------------

Build time:   2019-06-28 17:36:05 UTC
Revision:     83820928f3ada1a3a1dbd9a6c0d47eb3f199378f

Kotlin:       1.3.31
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          12.0.2 (Private Build 12.0.2+9-Ubuntu-118.04)
OS:           Linux 4.15.0-58-generic amd64

So, I'm unable to run Elasticsearch gradle tasks anymore due to the above mentioned error. For Example:
./gradlew -p docs check --stacktrace

Returns:


FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':client:client-benchmark-noop-api-plugin'.
> Could not find method nebula() for arguments [interface org.gradle.api.publish.maven.MavenPublication] on Publication container of type org.gradle.api.publish.internal.DefaultPublicationContainer.

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':client:client-benchmark-noop-api-plugin'.
        at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:79)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:72)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.access$600(LifecycleProjectEvaluator.java:53)
        at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate.run(LifecycleProjectEvaluator.java:198)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at ...... (Reached discourse forum limit)

Similar with ./gradlew idea:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':client:client-benchmark-noop-api-plugin'.
> Could not find method nebula() for arguments [interface org.gradle.api.publish.maven.MavenPublication] on Publication container of type org.gradle.api.publish.internal.DefaultPublicationContainer.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.