Skip to content

Commit

Permalink
Fix the issue of adding allDeps task for android (#201)
Browse files Browse the repository at this point in the history
Signed-off-by: jiyeong.seok <[email protected]>
  • Loading branch information
dd-jy authored May 16, 2024
1 parent af306b2 commit 054697f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fosslight_dependency/_package_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def add_allDeps_in_gradle(self):
}}'''
try:
with open(const.SUPPORT_PACKAE.get(self.package_manager_name), 'a', encoding='utf8') as f:
f.write(allDeps)
f.write(f'\n{allDeps}\n')
ret = True
except Exception as e:
logging.warning(f"Cannot add the allDeps task in build.gradle: {e}")
Expand Down

0 comments on commit 054697f

Please sign in to comment.