Gradle on Mac M2 with Liferay 7.3

Jamie Sammons, geändert vor 1 Jahr. New Member Beiträge: 3 Beitrittsdatum: 05.09.22 Neueste Beiträge

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, geändert vor 10 Monaten. Liferay Legend Beiträge: 14933 Beitrittsdatum: 02.09.06 Neueste Beiträge

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.