semantic-release-bot 597b2cb607 chore(release): 1.19.0 [skip ci]
# [1.19.0](https://github.com/googlemaps-samples/android-samples/compare/v1.18.0...v1.19.0) (2025-11-06)

### Features

* migrate onClick out of the layout files, add testing ([#2328](https://github.com/googlemaps-samples/android-samples/issues/2328)) ([dfa18d2](dfa18d21bf))
2025-11-06 15:15:21 +00:00

96 lines
2.9 KiB
Plaintext

/*
* Copyright 2025 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id("com.android.application")
id("project-report")
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin")
}
android {
compileSdk = libs.versions.compileSdk.get().toInt()
defaultConfig {
applicationId = "com.example.mapdemo"
minSdk = libs.versions.minSdk.get().toInt()
targetSdk = libs.versions.targetSdk.get().toInt()
versionCode = 1
versionName = "1.19.0"
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
compose = true
buildConfig = true
viewBinding = true
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
flavorDimensions.add("version")
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
namespace = "com.example.mapdemo"
lint {
disable += setOf("MissingInflatedId")
sarifOutput = layout.buildDirectory.file("reports/lint-results-debug.sarif").get().asFile
}
}
dependencies {
implementation(libs.appcompat)
implementation(libs.recyclerview)
implementation(libs.volley)
implementation(libs.playServicesMaps)
implementation(libs.material)
implementation(libs.activity)
implementation(project(":common-ui"))
implementation(libs.uiautomator)
implementation(libs.mapsUtilsKtx)
// Tests
testImplementation(libs.junit)
androidTestImplementation(libs.espressoIdlingResource)
androidTestImplementation(libs.androidxJunit)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.truth)
}
secrets {
// To add your Maps API key to this project:
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
// 2. Add this line, where YOUR_API_KEY is your API key:
// MAPS_API_KEY=YOUR_API_KEY
propertiesFileName = "secrets.properties"
// A properties file containing default secret values. This file can be
// checked in version control.
defaultPropertiesFileName = "local.defaults.properties"
}