Gradle on Mac M2 with Liferay 7.3

Jamie Sammons,修改在1 年前。 New Member 帖子: 3 加入日期: 22-9-5 最近的帖子

I upgraded my old mac with a M2 macbook pro a couple of week ago and I can't get Gradle to compile my Liferay theme, i get this error

* What went wrong:
A problem occurred evaluating settings 'nns-portal'.
> Failed to apply plugin [id 'com.liferay.workspace']
   > Could not create an instance of type com.liferay.gradle.plugins.workspace.WorkspaceExtension.
      > Unable to get product info for :dxp-7.3-ga1

 I'm using Eclipse 2025-03 (4.35.0) and can't refresh the gradle tasks.
Actually I was able to compile in the past few days but today i got this message and can't compile anymore?
I'm using JDK 11.0.13
Gradle 5.6.4
​​​​​​​can you help me?

thumbnail
David H Nebinger,修改在10 个月前。 Liferay Legend 帖子: 14933 加入日期: 06-9-2 最近的帖子

I think your gradle properties are wrong for the target platform. I haven't checked in a while, but I don't know that's the right format for the 7.3 target platform label.