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

Does not work with Android baselineprofile module #91

Open JBokMan opened 2 months ago

JBokMan commented 2 months ago

I would like to get login information via the secrets-gradle-plugin in a baselineprofile generator module. I am able to generate a BuildConfig but it does not contain the values from my local.properties file.

After a quick look in the code for the plugin it looks like, it is not triggered since it is neither a androidAppComponent nor a androidLibraryComponent.

val supportedComponents =
            listOf(project.androidAppComponent(), project.androidLibraryComponent())