Chris Arriola 7c017067b7
chore: Add secrets-gradle-plugin region tags. (#903)
* chore: Add secrets-gradle-plugin region tags.

Change-Id: I701043dc1fed653492ecc35e551b2e9d8ce16d19

* Adding ACCESS_COARSE_LOCATION.

Change-Id: Ia8e0eb80be5f0aa982cf195c5cfbb9471fc85f5f
2022-03-30 15:19:23 -07:00

98 lines
3.4 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
// [START maps_android_secrets_gradle_plugin]
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
// [END maps_android_secrets_gradle_plugin]
}
android {
compileSdk 32
defaultConfig {
applicationId "com.google.maps.example"
minSdk 24
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
composeOptions {
kotlinCompilerExtensionVersion '1.2.0-alpha05'
}
buildFeatures {
compose true
}
flavorDimensions "version"
productFlavors {
gms {
dimension "version"
applicationIdSuffix ".gms"
versionNameSuffix "-gms"
}
v3 {
dimension "version"
applicationIdSuffix ".v3"
versionNameSuffix "-v3"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.10'
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation "androidx.compose.foundation:foundation:1.2.0-alpha06"
implementation "androidx.compose.material:material:1.2.0-alpha06"
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1'
implementation 'androidx.navigation:navigation-ui-ktx:2.4.1'
implementation 'com.android.volley:volley:1.2.1'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
implementation 'io.reactivex.rxjava3:rxjava:3.1.4'
implementation 'com.google.android.libraries.places:places:2.5.0'
gmsImplementation 'com.google.maps.android:maps-ktx:3.3.0'
gmsImplementation 'com.google.maps.android:maps-compose:2.0.0'
gmsImplementation 'com.google.android.gms:play-services-maps:18.0.2'
gmsImplementation 'com.google.maps.android:android-maps-utils:2.3.0'
gmsImplementation 'com.google.maps.android:maps-rx:1.0.0'
gmsImplementation 'com.google.maps.android:places-rx:1.0.0'
v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
testImplementation 'junit:junit:4.13.2'
}
// [START maps_android_secrets_gradle_plugin_config]
secrets {
// Optionally specify a different file name containing your secrets.
// The plugin defaults to "local.properties"
propertiesFileName = "secrets.properties"
// A properties file containing default secret values. This file can be
// checked in version control.
defaultPropertiesFileName = 'local.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"
ignoreList.add("sdk.*") // Ignore all keys matching the regexp "sdk.*"
}
// [END maps_android_secrets_gradle_plugin_config]