Skip to content

refactor(build): centralize secrets enforcement and modernize CI bypass#37

Open
dkhawk wants to merge 5 commits intogooglemaps-samples:mainfrom
dkhawk:fix/gradle-secrets-enforcement-breaking-tests
Open

refactor(build): centralize secrets enforcement and modernize CI bypass#37
dkhawk wants to merge 5 commits intogooglemaps-samples:mainfrom
dkhawk:fix/gradle-secrets-enforcement-breaking-tests

Conversation

@dkhawk
Copy link
Copy Markdown
Collaborator

@dkhawk dkhawk commented Apr 2, 2026

Centralize the secrets.properties enforcement logic into a single authoritative check in the root build.gradle.kts file, removing duplication across subprojects. Replace brittle runtime checks with safe build-time constants for automated testing.

Centralize the secrets.properties enforcement logic into a single
authoritative check in the root build.gradle.kts file, removing
heavy duplication across six subprojects.

Replace brittle runtime environment checks with safe, build-time
BuildConfig.IS_CI constants for automated testing pipelines.

- Create root build.gradle.kts for workspace-wide validation
- Remove duplicated secrets-checking blocks from subproject scripts
- Inject BuildConfig.IS_CI and apply manifest placeholders in CI
- Update Application classes to respect BuildConfig.IS_CI early returns
- Untrack LOG.md and add to local exclude file
- Fill out missing PLACES_API_KEY in defaults properties
@dkhawk dkhawk requested a review from kikoso April 2, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant