ja da login cria conta e vai para o menu principal.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import java.util.Properties
|
||||
import java.io.FileInputStream
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.google.gms.google.services)
|
||||
@@ -15,6 +18,16 @@ android {
|
||||
versionName = "1.0"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
// Read the API key from local.properties
|
||||
val localProperties = Properties()
|
||||
val localPropertiesFile = rootProject.file("local.properties")
|
||||
if (localPropertiesFile.exists()) {
|
||||
localProperties.load(FileInputStream(localPropertiesFile))
|
||||
}
|
||||
val mapsApiKey = localProperties.getProperty("MAPS_API_KEY") ?: ""
|
||||
|
||||
manifestPlaceholders["MAPS_API_KEY"] = mapsApiKey
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -52,7 +65,11 @@ dependencies {
|
||||
implementation(libs.googleid)
|
||||
implementation("com.google.android.gms:play-services-maps:18.2.0")
|
||||
implementation("com.google.android.gms:play-services-location:21.0.1")
|
||||
implementation(libs.firebase.firestore)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.ext.junit)
|
||||
androidTestImplementation(libs.espresso.core)
|
||||
implementation("com.github.bumptech.glide:glide:4.16.0")
|
||||
annotationProcessor("com.github.bumptech.glide:compiler:4.16.0")
|
||||
implementation("com.google.firebase:firebase-storage:21.0.1")
|
||||
}
|
||||
Reference in New Issue
Block a user