google / secrets-gradle-plugin

A Gradle plugin for providing your secrets to your Android project.
Apache License 2.0
1.13k stars 99 forks source link

Better support Gradle Configuration cache #89

Open cmwarrington opened 3 months ago

cmwarrington commented 3 months ago

Currently (by inspection) this plugin reads the secrets file during configuration, which will result in a configuration cache miss when the contents of the secrets file changes

Could we use the lazy APIs (e.g. fileContents so this file is not read during configuration and therefore doesn't need to be a configuration cache input?