fixes library.references missing new line on newer project.properties
This commit is contained in:
parent
1d7fca59bf
commit
1c469abb46
1 changed files with 2 additions and 0 deletions
|
@ -820,6 +820,8 @@ class TargetAndroid(Target):
|
|||
# recreate the project.properties
|
||||
with io.open(project_fn, 'w', encoding='utf-8') as fd:
|
||||
fd.writelines((line.encode('utf-8') for line in content))
|
||||
if not content[-1].endswith(u'\n'):
|
||||
fd.write(u'\n')
|
||||
for index, ref in enumerate(references):
|
||||
fd.write(u'android.library.reference.{}={}\n'.format(index + 1, ref))
|
||||
|
||||
|
|
Loading…
Reference in a new issue