plugins { id 'com.android.application' id 'com.google.gms.google-services' } android { namespace 'com.example.cuida' compileSdk 35 defaultConfig { applicationId "com.example.cuida" minSdk 24 targetSdk 35 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildFeatures { viewBinding true } } dependencies { implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.11.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' implementation 'androidx.navigation:navigation-fragment:2.7.7' implementation 'androidx.navigation:navigation-ui:2.7.7' // Adiciona a biblioteca para Auth se for do Google ID (credentials) implementation 'androidx.credentials:credentials:1.5.0' implementation 'androidx.credentials:credentials-play-services-auth:1.5.0' //noinspection UseIdentifyId implementation 'com.google.android.libraries.identity.googleid:googleid:1.1.1' implementation 'com.google.firebase:firebase-ai:17.10.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' // Location implementation 'com.google.android.gms:play-services-location:21.0.1' // Biblioteca oficial do Google AI para Java/Android implementation 'com.google.ai.client.generativeai:generativeai:+' // Necessário para lidar com operações assíncronas (Guava) implementation 'com.google.guava:guava:31.1-android' // Para chamadas de rede e JSON implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.okhttp3:okhttp:4.10.0' // Firebase BoM implementation platform('com.google.firebase:firebase-bom:32.7.2') // Firebase Auth and Firestore implementation 'com.google.firebase:firebase-auth' implementation 'com.google.firebase:firebase-firestore' }