Gradle on Mac M2 with Liferay 7.3

David Vian, modified 4 Months ago.

Gradle on Mac M2 with Liferay 7.3

New Member Posts: 3 Join Date: 9/5/22 Recent Posts

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, modified 2 Months ago.

RE: Gradle on Mac M2 with Liferay 7.3

Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts

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.

Community
Company
Feedback