mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
add support for gradle kotlin scripts
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/ Closes fdroid/fdroidserver#613 cherry-picked from Bubu/fdroidserver@7d2e9f9c
This commit is contained in:
parent
3de2d0f56f
commit
9ae41cc1ff
5 changed files with 21 additions and 9 deletions
|
|
@ -468,7 +468,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||
if f in files:
|
||||
os.remove(os.path.join(root, f))
|
||||
|
||||
if any(f in files for f in ['build.gradle', 'settings.gradle']):
|
||||
if any(f in files for f in ['build.gradle', 'build.gradle.kts', 'settings.gradle', 'settings.gradle.kts']):
|
||||
# Even when running clean, gradle stores task/artifact caches in
|
||||
# .gradle/ as binary files. To avoid overcomplicating the scanner,
|
||||
# manually delete them, just like `gradle clean` should have removed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue