Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down