mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Merge branch 'cleaner-clean' into 'master'
build: clean up only known subdirectories in build/* Closes #438 See merge request fdroid/fdroidserver!432
This commit is contained in:
commit
3a792a8c3d
@ -518,8 +518,14 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||||||
# 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
|
||||||
# the build/ dirs.
|
# the build/* dirs.
|
||||||
del_dirs(['build', '.gradle'])
|
del_dirs([os.path.join('build', 'android-profile'),
|
||||||
|
os.path.join('build', 'generated'),
|
||||||
|
os.path.join('build', 'intermediates'),
|
||||||
|
os.path.join('build', 'outputs'),
|
||||||
|
os.path.join('build', 'reports'),
|
||||||
|
os.path.join('build', 'tmp'),
|
||||||
|
'.gradle'])
|
||||||
del_files(['gradlew', 'gradlew.bat'])
|
del_files(['gradlew', 'gradlew.bat'])
|
||||||
|
|
||||||
if 'pom.xml' in files:
|
if 'pom.xml' in files:
|
||||||
|
Loading…
Reference in New Issue
Block a user