plugins { id("com.android.application") } android { namespace = "com.example.saferoute" compileSdk = 34 defaultConfig { applicationId = "com.example.saferoute" minSdk = 26 targetSdk = 34 versionCode = 1 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } } dependencies { implementation("androidx.appcompat:appcompat:1.7.1") implementation("com.google.android.material:material:1.13.0") implementation("androidx.constraintlayout:constraintlayout:2.2.1") implementation ("androidx.recyclerview:recyclerview:1.2.1") implementation("com.google.android.gms:play-services-location:21.3.0") implementation("com.google.android.gms:play-services-maps:20.0.0") testImplementation("junit:junit:4.13.2") implementation("com.yandex.android:maps.mobile:4.4.0-full") implementation("com.squareup.retrofit2:retrofit:2.9.0") implementation("com.squareup.retrofit2:converter-gson:2.9.0") androidTestImplementation("androidx.test.ext:junit:1.3.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0") // Добавление зависимости Gson implementation ("com.google.code.gson:gson:2.10.1") implementation ("org.osmdroid:osmdroid-android:6.1.14") }