abitgen/spring-projects

Building Library Management Application from the root project

Closed this issue · 1 comments

As spring-boot-start module is now a separate project in the root project.
So now the root project dont have any subprojects.
The spring-boot-start project is now independent and no tasks of it can be run from this composite build setup.

Solution
So, to fix this, we will create a task in root project which delegates to the task of sub module in spring-boot-start project.

Sample Task in root build.gradle should look like this

task buildLibraryManagementApp {
    dependsOn gradle.includedBuild('spring-boot-start').task(':library-management-application:build')
}