Gradle Multi-Project Builds: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
Two project that are part of the same multi-project build may be related to each other via two kind of dependencies: project dependencies and [[#Task_Dependencies|task dependencies]].
Two project that are part of the same multi-project build may be related to each other via two kind of dependencies: project dependencies and [[#Task_Dependencies|task dependencies]].
==Project Dependencies==
==Project Dependencies==
{{External|https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:project_dependencies}}
Projects (modules) can define dependencies between each other to reuse code.
==Task Dependencies==
==Task Dependencies==
{{Internal|Gradle_Task_Dependencies_and_Ordering#Overview|Task Dependencies}}
{{Internal|Gradle_Task_Dependencies_and_Ordering#Overview|Task Dependencies}}

Revision as of 01:23, 22 October 2020

Internal

TODEPLETE

Gradle Multi-Project Builds TODEPLETE

Overview

Sub-projects can depend on each other in the context of a multi-project build.

Inter-Project Dependencies

Two project that are part of the same multi-project build may be related to each other via two kind of dependencies: project dependencies and task dependencies.

Project Dependencies

https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:project_dependencies

Projects (modules) can define dependencies between each other to reuse code.

Task Dependencies

Task Dependencies