google / google/secrets-gradle-plugin

Not compatible with `android.enableBuildConfigAsBytecode` Gradle Property

Open
#75 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.3k
Forks
122
PR merge metrics
No merged PRs in 30d

Description

**Problem:**
If the `android.enableBuildConfigAsBytecode=true` flag is set in the `gradle.properties` file, no secrets or extensions will be added to the `BuildConfig`.

The flag being enabled or disabled does not affect the ability of anything to compile or affect the standard `BuildConfig` flags. This package will only work if that feature is disabled.

This incompatibility is problematic because
1. it significantly affects compile-time
2. the [advice given here](https://medium.com/androiddevelopers/5-ways-to-prepare-your-app-build-for-android-studio-flamingo-release-da34616bb946) would cause this to fail and there aren't any logs or other indicators that this is the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.