Unable to apply plugin in Gradle 7.2 because compile() method in CubaPlugin.groovy

Hi,

Please comment the issue: Unable to apply plugin in Gradle 7.2 because compile() method in CubaPlugin.groovy · Issue #159 · cuba-platform/cuba-gradle-plugin (github.com)

or suggest any workaround here

Hi,
CUBA 7.2 is compatible with Gradle 5.6.4.
You should use this version to build CUBA projects.