secrets-gradle-plugin
secrets-gradle-plugin copied to clipboard
Properties are not injected if the plugin is applied before the Android plugin
If the plugin is added before com.android.application it silently skips properties injection.
I believe it should fail the build in this case. Or, at least, docs should mention that the order is important.
It took me several hours to understand why the properties are not injected when after some refactoring I accidentally changed the order of plugins.
Thank you, I also lost an hour chasing this until I found this issue. Agree that this should be documented or, fail the build with an explanatory error message, or otherwise fixed so that ordering is not important