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:
Marcus Hoffmann 2019-12-23 02:02:28 +01:00 committed by Hans-Christoph Steiner
parent 3de2d0f56f
commit 9ae41cc1ff
5 changed files with 21 additions and 9 deletions

View file

@ -334,7 +334,7 @@ def try_init_submodules(app, last_build, vcs):
def dirs_with_manifest(startdir):
for root, dirs, files in os.walk(startdir):
if any(m in files for m in [
'AndroidManifest.xml', 'pom.xml', 'build.gradle']):
'AndroidManifest.xml', 'pom.xml', 'build.gradle', 'build.gradle.kts']):
yield root