apply plugin: 'com.android.application' apply plugin: 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' apply plugin: "com.gladed.androidgitversion" buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } mavenCentral() } dependencies { classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.4.3" } } androidGitVersion { codeFormat 'MNNBBBB' format '%tag%%.count%' hideBranches = ['develop'] } android { compileSdkVersion 31 buildToolsVersion "31.0.0" defaultConfig { applicationId "com.safemobile.safedispatch" minSdkVersion 21 targetSdkVersion 31 versionName androidGitVersion.name() versionCode androidGitVersion.code() archivesBaseName = "SafeDispatchMobile_v.$versionName" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } buildFeatures { viewBinding false } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: //abortOnError 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' }