plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' } android { namespace 'com.example.app_maps_rx' compileSdk 34 defaultConfig { applicationId "com.example.app_maps_rx" minSdk 24 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildFeatures { buildConfig = true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } } // [START maps_android_maps_rx_install] dependencies { // RxJava bindings for the Maps SDK implementation 'com.google.maps.android:maps-rx:1.0.0' // RxJava bindings for the Places SDK implementation 'com.google.maps.android:places-rx:1.0.0' // It is recommended to also include the latest Maps SDK, Places SDK and RxJava so you // have the latest features and bug fixes. implementation "com.google.android.gms:play-services-maps:18.2.0" implementation 'com.google.android.libraries.places:places:3.4.0' implementation 'io.reactivex.rxjava3:rxjava:3.1.8' // [START_EXCLUDE silent] implementation "androidx.appcompat:appcompat:1.6.1" implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.7.0" implementation "com.google.android.material:material:1.11.0" implementation "com.trello.rxlifecycle4:rxlifecycle-android-lifecycle-kotlin:4.0.2" implementation "com.google.maps.android:maps-ktx:5.0.0" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.23" // [END_EXCLUDE silent] } // [END maps_android_maps_rx_install] 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' }