Skip to content

Commit

Permalink
docs: Updating docs with defaultPropertiesFileName sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
arriolac committed Jan 27, 2021
1 parent 7831846 commit 63d31bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ secrets {
// to another properties file in your root project.
propertiesFileName 'secrets.properties'

// A properties file containing default secret values. This file can be checked in version
// control.
defaultPropertiesFileName = 'secrets.defaults.properties'

// Configure which keys should be ignored by the plugin by providing regular expressions.
// "sdk.dir" is ignored by default.
ignoreList.add("keyToIgnore") // Ignore the key "keyToIgnore"
Expand Down
2 changes: 1 addition & 1 deletion sample-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ secrets {
// Optionally specify a different file name containing your secrets.
// The plugin defaults to "local.properties"
propertiesFileName = "secrets.properties"
// defaultPropertiesFileName = "secrets.defaults.properties"
defaultPropertiesFileName = "secrets.defaults.properties"

// Add keys that the plugin should ignore from the properties file
ignoreList.add("keyToIgnore")
Expand Down

0 comments on commit 63d31bc

Please sign in to comment.