Skip to content

Commit

Permalink
Merge pull request #1628 from rmartin16/no-prefix-warning
Browse files Browse the repository at this point in the history
Remove prefix from `build_gradle_dependencies` warning
  • Loading branch information
freakboy3742 committed Feb 3, 2024
2 parents 8b0e9b5 + 4e9013b commit 2618510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions changes/1628.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The warning for missing ``build_gradle_dependencies`` in pyproject.toml is now printed without the app title prefix.
6 changes: 2 additions & 4 deletions src/briefcase/platforms/android/gradle.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ def output_format_template_context(self, app: AppConfig):
dependencies = app.build_gradle_dependencies
except AttributeError:
self.logger.warning(
(
"""
"""
*************************************************************************
** WARNING: App does not define build_gradle_dependencies **
*************************************************************************
Expand All @@ -201,9 +200,8 @@ def output_format_template_context(self, app: AppConfig):
for more information.
*************************************************************************
"""
),
prefix=app.app_name,
)
dependencies = [
"androidx.appcompat:appcompat:1.0.2",
Expand Down

0 comments on commit 2618510

Please sign in to comment.