plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' } android { namespace 'com.example.app_compose' compileSdk 34 defaultConfig { applicationId "com.example.app_compose" minSdk 21 targetSdk 34 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.5.0' } buildFeatures { compose true buildConfig = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } } // [START maps_android_compose_dependency] dependencies { // [START_EXCLUDE silent] implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.0.0' implementation 'androidx.core:core-ktx:1.13.1' implementation 'androidx.appcompat:appcompat:1.7.0' implementation "androidx.compose.foundation:foundation:1.7.0-beta04" implementation "androidx.compose.material:material:1.7.0-beta04" implementation 'com.google.android.material:material:1.12.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7' implementation 'androidx.navigation:navigation-ui-ktx:2.7.7' implementation 'com.android.volley:volley:1.2.1' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.3' // [END_EXCLUDE] // Android Maps Compose composables for the Maps SDK for Android implementation 'com.google.maps.android:maps-compose:6.0.0' } // [END maps_android_compose_dependency] 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' }