Reputation: 1
Gradle buildService not working correctly in Liferay 7.4
Hi all,
I'm trying to deploy a simple API service in Liferay framework with gradle but it seems it's not building packages correctly. After I execute buildService, I try to deploy the service but I get this error:
error : Exporting an empty package 'com.test.exception'
this is how gradle is currently building directories
This is how I think packages' directories should be built in order to successfully deploy:
|->apiService
||->main
||||->java
||||||->com.testService.exception
||||||->com.testservice.model
||||||->com.testService.service
Upvotes: 0
Views: 284
Reputation: 21
Please update settings.gradle, update gradle plugin liferay workspace version to 4.0.22 and retry.
classpath(group: "com.liferay", name: "com.liferay.gradle.plugins.workspace", version: "4.0.22")
Upvotes: 0