Search code examples
javaspringgradleintellij-idea

How create module from settings.gradle


I have this gradel.settings

rootProject.name = 'dwelow'
include 'common'
include 'cmr-service'
include 'web-service'
include 'web-test'

after adding them and running I want them to be created as modules ,is this possible?


Solution

  • Yes you can create sub module from the settings.gradle. Each sub module should have separate build.gradle file. then only you can run application specific module.

    From my side question why? would like to creates multiple module with in the application.