Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay workspace, target platform version for Liferay 7.1 GA2 build.gr
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
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
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"
}
Powered by Liferay™