mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
chore: Updates the app level build.gradle in tutorials (#1754)
Edit the properties of the plugin to set propertiesFileName to secrets.properties.
This commit is contained in:
parent
6ef256924b
commit
4fef493e6f
@ -38,7 +38,7 @@ dependencies {
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// The plugin defaults to "local.properties"
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// A properties file containing default secret values. This file can be
|
||||
|
||||
@ -35,6 +35,10 @@ dependencies {
|
||||
}
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// To add your Maps API key to this project:
|
||||
// 1. Open the root project's local.properties file
|
||||
// 2. Add this line, where YOUR_API_KEY is your API key:
|
||||
|
||||
@ -35,6 +35,10 @@ dependencies {
|
||||
}
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// To add your Maps API key to this project:
|
||||
// 1. Open the root project's local.properties file
|
||||
// 2. Add this line, where YOUR_API_KEY is your API key:
|
||||
|
||||
@ -40,7 +40,7 @@ dependencies {
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// The plugin defaults to "local.properties"
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// A properties file containing default secret values. This file can be
|
||||
|
||||
@ -48,6 +48,10 @@ dependencies {
|
||||
}
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// To add your Maps API key to this project:
|
||||
// 1. Open the root project's local.properties file
|
||||
// 2. Add this line, where YOUR_API_KEY is your API key:
|
||||
|
||||
@ -43,6 +43,10 @@ dependencies {
|
||||
}
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// To add your Maps API key to this project:
|
||||
// 1. Open the root project's local.properties file
|
||||
// 2. Add this line, where YOUR_API_KEY is your API key:
|
||||
|
||||
@ -41,6 +41,10 @@ dependencies {
|
||||
}
|
||||
|
||||
secrets {
|
||||
// Optionally specify a different file name containing your secrets.
|
||||
// If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
|
||||
propertiesFileName = "secrets.properties"
|
||||
|
||||
// To add your Maps API key to this project:
|
||||
// 1. Open the root project's local.properties file
|
||||
// 2. Add this line, where YOUR_API_KEY is your API key:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user