From 63d31bc3bf8d918a8df3fc92ffa096fcab256574 Mon Sep 17 00:00:00 2001 From: Chris Arriola Date: Wed, 27 Jan 2021 11:23:44 -0800 Subject: [PATCH] docs: Updating docs with defaultPropertiesFileName sample. --- README.md | 4 ++++ sample-app/build.gradle.kts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcadfc1..08810bc 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/sample-app/build.gradle.kts b/sample-app/build.gradle.kts index 50b5767..43f2f7f 100644 --- a/sample-app/build.gradle.kts +++ b/sample-app/build.gradle.kts @@ -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")