This is unnecessary because dirs_with_manifest will pick it up anyway.
But the problem manifested because we weren't checking the package id
here.
build = app['builds'][-1]
if build['gradle']:
flavours = build['gradle']
- subdir = build['subdir']
- if subdir and os.path.isdir(os.path.join(build_dir, subdir)):
- logging.debug("Adding possible subdir %s" % subdir)
- yield subdir
for d in dirs_with_manifest(build_dir):
m_paths = common.manifest_paths(d, flavours)