CHAPTER 7

image

Multi-Project Builds

Complex enterprise projects are often split into several subprojects to ease development, maintainability, and increase reuse. This chapter reviews how multi-projects are structured and configured. You will build a sample multi-project to better understand Gradle’s multi-project support. You will look at approaches for distributing build logic across root and subprojects. You will also learn how to execute single project builds or a full project build and declare dependencies between projects.

Multi-Project Structure

Gradle supports development of complex projects by allowing multiple Gradle projects to be nested ...

Get Introducing Gradle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.