From 261cbcd3ee143ddf9df49fe71243811cf54fd001 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Tue, 8 Mar 2016 23:50:14 +0000 Subject: [PATCH] build: don't remove wrapper dir gradle/ The point of removing these was to make sure that gradlew wasn't used, and that our gradle was used instead. Removing the scripts already accomplishes this. Removing gradle/ should be harmless, but some apps like I2P re-use this directory to also hold other stuff that is actually needed. So be safer and don't remove it at all. --- fdroidserver/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 216de06f..ed131d67 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -557,7 +557,7 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir, # .gradle/ as binary files. To avoid overcomplicating the scanner, # manually delete them, just like `gradle clean` should have removed # the build/ dirs. - del_dirs(['build', '.gradle', 'gradle']) + del_dirs(['build', '.gradle']) del_files(['gradlew', 'gradlew.bat']) if 'pom.xml' in files: -- 2.30.2