From 054697f04c7806f6f752b64a692ed883dd33fa02 Mon Sep 17 00:00:00 2001 From: Jiyeong Seok <50347670+dd-jy@users.noreply.github.com> Date: Thu, 16 May 2024 15:54:49 +0900 Subject: [PATCH] Fix the issue of adding allDeps task for android (#201) Signed-off-by: jiyeong.seok --- src/fosslight_dependency/_package_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fosslight_dependency/_package_manager.py b/src/fosslight_dependency/_package_manager.py index d9f7e283..eed98aa1 100644 --- a/src/fosslight_dependency/_package_manager.py +++ b/src/fosslight_dependency/_package_manager.py @@ -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}")