diff --git a/README.md b/README.md index e7060f3..cfd27af 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,13 @@ buildscript { } ``` +Version Catalog: +```groovy/kotlin +plugins { + alias(libs.plugins.secrets) apply false +} +``` + 2. In your app-level `build.gradle` file: Groovy: @@ -54,6 +61,22 @@ plugins { } ``` +Version Catalog: +```groovy/kotlin +plugins { + alias(libs.plugins.secrets) apply false +} +``` + +3. (Optional) In your `gradle/libs.versions.toml` file: (If using Version Catalog) + +```TOML +[versions] +secrets = "2.0.1" +[plugins] +secrets = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin", version.ref = "secrets" } +``` + 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. ### Snapshot Releases