RE: Liferay workspace, target platform version for Liferay 7.1 GA2 build.gr

Nagendra Busam, modified 6 Years ago. New Member Post: 1 Join Date: 8/18/14 Recent Posts

I installed liferay-ce-portal-tomcat-7.1.1-ga2-20181105121645556.tar on my local.

 

First time trying to setup liferay workspace in Liferay IDE installed on Eclipse.

 

Need some help getting clarification regarding following,

1.Does setting below is proper one for Liferay 7.1.1 GA2 CE

     liferay.workspace.target.platform.version = 7.1.1

 2.After setting target platform version properly, do we need to specify version numbers for dependencies in build.gradle of modules we develope?

 

Thanks,

Nagendra

thumbnail
Srikanth Reddy Sanivarapu, modified 6 Years ago. Regular Member Posts: 203 Join Date: 11/15/08 Recent Posts

Busam,

 

You should set the value as:

liferay.workspace.target.platform.version=7.1.1-ga2

 

Yes, you still have to specify the dependencies in the gradle file for your module to resolve them based on their availability like compile, compileonly, runtime, provide etc.,.

 

Regards,

Srik

 

Liferay Portals

thumbnail
Nagendra Kumar Busam, modified 6 Years ago. Liferay Master Posts: 678 Join Date: 7/7/09 Recent Posts

Thank you Srik.

 

I undestand we need to specify dependencies, my question is do we need to specify versions apart from group & name for all dependencies If we configure liferay workspace properly w/ target platform version.

 

dependencies {

compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"

compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib"

}