A highly opinionated way of structure your next Liferay 7.0 project.
Install the blade CLI using the following command:
curl https://raw.githubusercontent.com/gamerson/liferay-blade-tools/master/installers/global | sudo sh
In an empty directory init the Liferay 7 workspace:
blade init
cd liferay-plugins-sdk
blade init
Put your osgi bundles in here. We recommend that you put your portlets in apps, your hooks and integrations in extensions, and utils in shared but you can use any folder structure you choose. All projects in the modules directory will have Liferay Gradle Plugin applied to it.
Themes can be created using the new node.js tools. For more information go to: https://www.npmjs.com/package/generator-liferay-theme
Themes checked in this directory will automatically be built by gradle. It will automatically install any required tools to build and deploy the theme.
If you have an old Liferay project that used the Plugins SDK, you can include it in this project. This will allow the project to participate in the full build lifecycle. Gradle will call ant all
during a build.