mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
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.
This commit is contained in:
parent
ace4834cf7
commit
261cbcd3ee
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user