55 lines
1.7 KiB
Groovy
55 lines
1.7 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
apply plugin: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 31
|
||
|
buildToolsVersion "31.0.0"
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "com.safemobile.dispatch"
|
||
|
minSdkVersion 21
|
||
|
targetSdkVersion 31
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||
|
}
|
||
|
}
|
||
|
buildFeatures {
|
||
|
viewBinding false
|
||
|
}
|
||
|
}
|
||
|
dependencies {
|
||
|
implementation project(':libSafeMobile')
|
||
|
|
||
|
// support libraries
|
||
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||
|
implementation 'com.google.android.material:material:1.5.0'
|
||
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||
|
implementation 'androidx.media:media:1.5.0'
|
||
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||
|
implementation 'com.google.android.gms:play-services-auth:20.1.0'
|
||
|
|
||
|
// Fused location provider with and without google services
|
||
|
implementation 'com.google.android.gms:play-services-location:19.0.1'
|
||
|
|
||
|
// Google maps library
|
||
|
implementation 'com.google.android.gms:play-services-maps:18.0.2'
|
||
|
|
||
|
// define a BOM and its version
|
||
|
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.3"))
|
||
|
|
||
|
// define any required OkHttp artifacts without version
|
||
|
implementation("com.squareup.okhttp3:okhttp")
|
||
|
implementation("com.squareup.okhttp3:logging-interceptor")
|
||
|
|
||
|
// add Gson
|
||
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||
|
|
||
|
//retrofit
|
||
|
}
|