Skip to content

ddubson/springboot-multiproject-gradle-example

Repository files navigation

Spring Boot Multi-Project Gradle

This is an example project seeking to illustrate how you can create robust multi-project environments using Gradle

Multi-project builds

settings.gradle contains a list of all the sub projects

build.gradle

allprojects block applies to all sub projects

each project is included via project(":[project-name]")

you can include subprojects in a project via dependencies like so:

project(":boot-api") {
    dependencies {
        compile project(":boot-logger")
        // other dependencies
    }
}

Running the application

In the project root directory, run:

./gradlew :boot-api:bootRun

About

Spring Boot multi-project Gradle build example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages