mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-06 11:00:13 +02:00
Merge branch 'fix-dot-gradle-removal' into 'master'
build: fix build/ and .gradle/ removal after cleaning Closes #384 See merge request fdroid/fdroidserver!346
This commit is contained in:
commit
5567182629
@ -498,7 +498,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||||||
if f in files:
|
if f in files:
|
||||||
os.remove(os.path.join(root, f))
|
os.remove(os.path.join(root, f))
|
||||||
|
|
||||||
if 'build.gradle' in files:
|
if any(f in files for f in ['build.gradle', 'settings.gradle']):
|
||||||
# Even when running clean, gradle stores task/artifact caches in
|
# Even when running clean, gradle stores task/artifact caches in
|
||||||
# .gradle/ as binary files. To avoid overcomplicating the scanner,
|
# .gradle/ as binary files. To avoid overcomplicating the scanner,
|
||||||
# manually delete them, just like `gradle clean` should have removed
|
# manually delete them, just like `gradle clean` should have removed
|
||||||
|
Loading…
Reference in New Issue
Block a user