diff options
author | Yves Fischer <yvesf@cern.ch> | 2016-01-30 20:20:39 +0100 |
---|---|---|
committer | Yves Fischer <yvesf@cern.ch> | 2016-01-30 20:21:37 +0100 |
commit | a050e0d1114f6c8c7a9e9668ca862005c5b1e78c (patch) | |
tree | 86880a4a7abed4be32b2a977e2fba0d85f6affd7 | |
parent | 2bd65deac78235209a7d4b517b801aa7ec13eb5f (diff) | |
download | debian-packages-a050e0d1114f6c8c7a9e9668ca862005c5b1e78c.tar.gz debian-packages-a050e0d1114f6c8c7a9e9668ca862005c5b1e78c.zip |
update for nested projects build/ directory
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | settings.gradle | 9 |
2 files changed, 5 insertions, 6 deletions
@@ -2,4 +2,4 @@ /.gradle *.iml /packages/build -/packages/*/build +/packages/**/build diff --git a/settings.gradle b/settings.gradle index 09c176c..48a3ac8 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,8 +1,7 @@ rootProject.name = 'debian-packages' -fileTree('.') { - include 'packages/*/build.gradle' -}.collect { - relativePath(it.parent).replace(File.separator, ':') +fileTree(dir: '.', + include: 'packages/**/build.gradle', + exclude: 'packages/**/build/**/build.gradle').collect { + relativePath(it.parent).replace(File.separator, ':') }.each { include(it) } - |