-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: 7.1.3 CE GA4
-
Fix Version/s: 7.2.10 DXP FP2, 7.2.10.1 DXP SP1, Master
-
Component/s: Core Infrastructure > Service Builder
-
Git Pull Request:
- blade init -v 7.1 to create a workspace
- add "liferay.workspace.target.platform.version = 7.1.3" into gradle.properties file
- blade create -t service-builder sample -v 7.1
- execute "gw buildService" in sample project
- gw build
in -service project
notice there is an error in FooPersistenceImpl.java file -service project:
line 1024: appendOrderByComparator(...) , There is no appendOrderByComparator() method in 3.63.1.jar.
The method exists in com.liferay.portal.kernel-3.0.0.jar(if don't use target.platform, it point to 3.0.0 in build.gradle which works)
with target.platform specified, it downloads latest com.liferay.portal.kernel-3.63.1.jar according to build.gradle
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"
,