diff --git a/README.md b/README.md index e7060f3..bbf95c3 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,10 @@ Groovy: plugins { id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' } + +buildFeatures { + buildConfig true // make sure this is set +} ``` Kotlin: @@ -52,6 +56,10 @@ Kotlin: plugins { id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") } + +buildFeatures { + buildConfig(true) // make sure this is set +} ``` This plugin also supports library module type (`com.android.library`). Just install the plugin in your library-level `build.gradle` file and keys will be visible inside that module as well.