Structuring Software Projects Sample
This sample shows how to structure a software product that consists of multiple components as a set of connected Gradle builds. As such, it shows how Gradle is used to model a project’s architecture and reflect that in the physical structure of the files that make up the software. This example is described as part of the documentation on this topic.
The product that is built in this sample is an application that displays Gradle Build Tool releases.
There are different ways to work with the sample:
You may build or import the umbrella build in the root. There you can, for example, run the Spring Boot web application via
./gradlew :server-application:app:bootRunor install the Android app using
You may only build or import one of the application builds directly. For example,
cd server-applicationand run the app using
You may only build or import a selected component (and its dependencies). For example, only import the
user-featurebuild in the IDE.