This message was deleted.
# releases
s
This message was deleted.
🚀 2
party gradlephant 21
r
When trying 8.5-rc-1 we see this error when using BuildLayout as parameter of a @inject annotated plugin:
Copy code
* What went wrong:
An exception occurred applying plugin request [id: 'elasticsearch.publish']
> Failed to apply plugin 'elasticsearch.publish'.
   > Could not create plugin of type 'PublishPlugin'.
      > Unable to determine constructor argument #2: missing parameter of type BuildLayout, or no service of type BuildLayout.

* 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.
> Get more help at <https://help.gradle.org>.

BUILD FAILED in 517ms
4 actionable tasks: 4 up-to-date
sorry no build scan available due to early error
It seems the new BuildLayout service is not properly resolvable from a plugin with @inject