From a050e0d1114f6c8c7a9e9668ca862005c5b1e78c Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 30 Jan 2016 20:20:39 +0100 Subject: update for nested projects build/ directory --- .gitignore | 2 +- settings.gradle | 9 ++++----- 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) } - -- cgit v1.2.1