Files
doerflingerhelpers/app/build.gradle
Alexander Dörflinger e482093832 [Maps] Replaces gMaps with MapBox
In order to circumvent the usage quota of Google Maps
the map provider was changed to be MapBox now. Additionally
the maps implementation was refactored to be better extendable
in future.
2025-04-23 14:04:24 +02:00

88 lines
3.0 KiB
Groovy

plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
}
android {
namespace 'com.aldo.apps.familyhelpers'
compileSdk 34
signingConfigs {
myCustomKeystore {
storeFile file(keystorePath)
keyAlias myKeystoreAlias
storePassword myStorePassword
keyPassword myKeyPassword
}
}
defaultConfig {
applicationId "com.aldo.apps.familyhelpers"
minSdk 32
targetSdk 34
android.buildFeatures.buildConfig true
versionCode 12
versionName "0.2.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
signingConfig signingConfigs.myCustomKeystore
buildConfigField "String", "GOOGLE_MAPS_API_KEY", "\"${googleMapsApiKeyRelease}\""
manifestPlaceholders.google_maps_api_key = googleMapsApiKeyRelease
minifyEnabled false
}
release {
signingConfig signingConfigs.myCustomKeystore
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "String", "GOOGLE_MAPS_API_KEY", "\"${googleMapsApiKeyRelease}\""
manifestPlaceholders.google_maps_api_key = googleMapsApiKeyRelease
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation 'io.reactivex.rxjava3:rxjava:3.1.5'
implementation 'androidx.car.app:app:1.4.0'
implementation 'androidx.car.app:app-projected:1.4.0'
implementation 'androidx.concurrent:concurrent-futures:1.2.0'
// Color Picker Preference
implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:3.1.0'
//Google Maps SDK
implementation 'com.google.android.gms:play-services-maps:19.1.0'
implementation 'com.google.android.gms:play-services-location:21.3.0'
//MapBox SDK
implementation 'com.mapbox.maps:android:11.11.0'
// Glide
implementation 'com.github.bumptech.glide:glide:4.16.0'
implementation 'androidx.preference:preference:1.2.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
//CircleImageView
implementation 'de.hdodenhof:circleimageview:3.1.0'
//Firebase Dependencies
implementation platform('com.google.firebase:firebase-bom:33.10.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.firebaseui:firebase-ui-auth:7.2.0'
implementation 'com.google.firebase:firebase-firestore'
implementation 'com.google.firebase:firebase-crashlytics'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
}