1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

Add support for Triple-T metadata in Flutter projects

Closes: https://gitlab.com/fdroid/fdroidserver/-/issues/975
This commit is contained in:
Simon Ser 2022-03-06 16:42:56 +01:00
parent 0212f2c41f
commit fdc88650eb

View File

@ -844,6 +844,9 @@ def copy_triple_t_store_metadata(apps):
gradle_subdirs.add(p)
if not gradle_subdirs:
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, '*', 'src', '*', 'play')))
if not gradle_subdirs:
# Flutter-style android subdir
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, 'android', 'app', 'src', '*', 'play')))
for d in sorted(gradle_subdirs):
logging.debug('Triple-T Gradle Play Publisher: ' + d)