Gradle workspace: dependencies and modules management
Gradle workspace: dependencies and modules management Overview This article explains how to manage dependencies in your Gradle workspace project, use global dependencies, define configuration, and filter sub-modules. Dependencies management If you have a multi-module project - you probably have a lot of common dependencies in your modules, and you want to reuse them from a single place. This way you'll not need to update a single dependency version in tens of modules, but just update it in one place. The dependencies in your modules can be different: Liferay dependencies - those ones, exposed by Liferay; Third-party dependencies - not defined in Liferay. And approach is different for those types. For Liferay dependencies - you can enable The Target Platform . For third-party ones - you may use global dependencies. Global dependencies You may define global dependencies in the root of your workspace, and then reuse them in different modules. ...