Skip to content

Commit

Permalink
chore: Updates the app level build.gradle in tutorials (#1754)
Browse files Browse the repository at this point in the history
Edit the properties of the plugin to set propertiesFileName to secrets.properties.
  • Loading branch information
saranvd authored Aug 16, 2024
1 parent 6ef2569 commit 4fef493
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tutorials/java/CurrentPlaceDetailsOnMap/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tutorials/java/MapWithMarker/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tutorials/java/Polygons/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tutorials/java/StyledMap/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tutorials/kotlin/CurrentPlaceDetailsOnMap/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tutorials/kotlin/MapWithMarker/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tutorials/kotlin/Polygons/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4fef493

Please sign in to comment.