When applying pluging com.liferay.node with gradle 6.0+, I got the following error:
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
Build file '/home/dabos/projets/dabos/liferay-gradle-6/build.gradle' line: 9
* What went wrong:
An exception occurred applying plugin request [id: 'com.liferay.node', version: '7.0.2']
> Failed to apply plugin [id 'com.liferay.node']
> Could not create plugin of type 'NodePlugin'.
> Could not generate a decorated class for type NodePlugin.
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:
Caused by https://github.com/gradle/gradle/issues/9433
Remove OSGI plugin from gradle since version 6.0.
A solution is to include OsgiHelper class in liferay.