Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor Google repository configuration into utility function #35

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

saschpe
Copy link
Owner

@saschpe saschpe commented Jan 30, 2025

Description

This pull request refactors the Gradle build script by extracting the common Google repository configuration into a reusable googleAndroidOnly extension function. This change reduces code duplication, improves readability, and ensures consistent configuration between pluginManagement and dependencyResolutionManagement blocks.

Type of change

  • Refactor (non-breaking change that improves code quality or maintainability)

How to test

  1. Verify that the build script functions correctly after the refactor.
  2. Ensure both pluginManagement and dependencyResolutionManagement blocks use the googleAndroidOnly function consistently.

Checklist

  • Code compiles correctly.
  • Tests cover the modified code.
  • Documentation has been updated if necessary.

@saschpe saschpe self-assigned this Jan 30, 2025
@saschpe saschpe added the enhancement New feature or request label Jan 30, 2025
This workflow automates OSSF Scorecard checks to enhance repository
security. It runs weekly and on pushes to the main branch, performing
analysis and uploading results in SARIF format for code scanning. This
ensures continuous monitoring and compliance with security best
practices.
Pinned actions to specific commit SHAs across workflows to enhance
reliability and prevent unintended updates. Upgraded dependencies,
including setup-python to version 3.13, mobsfscan to 0.4.5, and
upload-sarif to v3, ensuring compatibility and improved functionality.
@saschpe saschpe merged commit 9dbb871 into main Jan 30, 2025
6 checks passed
@saschpe saschpe deleted the saschpe.actions branch January 30, 2025 11:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant