import org.apache.tools.ant.filters.ConcatFilter plugins { id 'com.android.application' id 'project-report' id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' } android { compileSdk 34 defaultConfig { applicationId "com.example.mapdemo" minSdk 19 targetSdk 34 versionCode 1 versionName "1.0" multiDexEnabled true } buildFeatures { compose true buildConfig = true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } flavorDimensions "version" productFlavors { gms { dimension "version" applicationIdSuffix ".gms" versionNameSuffix "-gms" } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } namespace "com.example.mapdemo" } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.6.1' implementation "androidx.recyclerview:recyclerview:1.3.1" implementation 'com.android.volley:volley:1.2.1' // GMS gmsImplementation 'com.google.android.gms:play-services-maps:18.2.0' // Tests testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } secrets { // 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: // MAPS_API_KEY=YOUR_API_KEY defaultPropertiesFileName 'local.defaults.properties' }