summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Fischer <yvesf@cern.ch>2016-01-30 20:20:39 +0100
committerYves Fischer <yvesf@cern.ch>2016-01-30 20:21:37 +0100
commita050e0d1114f6c8c7a9e9668ca862005c5b1e78c (patch)
tree86880a4a7abed4be32b2a977e2fba0d85f6affd7
parent2bd65deac78235209a7d4b517b801aa7ec13eb5f (diff)
downloaddebian-packages-a050e0d1114f6c8c7a9e9668ca862005c5b1e78c.tar.gz
debian-packages-a050e0d1114f6c8c7a9e9668ca862005c5b1e78c.zip
update for nested projects build/ directory
-rw-r--r--.gitignore2
-rw-r--r--settings.gradle9
2 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 44d5d57..ca02825 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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) }
-