Skip to content

Instantly share code, notes, and snippets.

@BorzdeG
Last active December 14, 2015 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BorzdeG/12028bbda70a5f00494d to your computer and use it in GitHub Desktop.
Save BorzdeG/12028bbda70a5f00494d to your computer and use it in GitHub Desktop.
settings.gradle template
rootDir.eachDirRecurse() { dir ->
if (new File(dir, 'build.gradle').exists()) {
logger.trace('found module: ' + dir.name)
final String prjName = ':' + dir.name
logger.lifecycle('include project: ' + prjName)
include prjName
project(prjName).projectDir = dir
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment