apply plugin: 'com.android.application'

android {

    compileSdkVersion 34
    buildToolsVersion '33.0.0'
    //useLibrary('org.apache.http.legacy'                                                                                                        )

    defaultConfig {
        applicationId "com.sharefaith.thesharefaithapp"
        minSdkVersion 21
        targetSdkVersion 34
        versionCode 2081485
        versionName "2.8.31"
        multiDexEnabled true
    }

    signingConfigs {
        release {
            storeFile file("/Users/Sharefaith1/keystore/android_apps.jks")
            storePassword "app\$SF15!"
            keyAlias "androidapps"
            keyPassword "app\$SF15!"
        }
    }

    buildTypes {
        release {
            minifyEnabled false
            shrinkResources false
            zipAlignEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
            aaptOptions{
                cruncherEnabled = false
            }
        }
        debug {
            minifyEnabled false
            shrinkResources false
            aaptOptions{
                cruncherEnabled = false
            }
        }
    }


    dexOptions {
        javaMaxHeapSize "2g"
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    lint {
        disable 'ManifestTypo'
    }
    namespace 'com.sharefaith.thesharefaithapp'
}

repositories {
    mavenCentral()
    maven { url "https://jitpack.io" }
}

dependencies {
    //https://stackoverflow.com/questions/50577437
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.work:work-runtime:2.7.1'
    implementation 'com.google.android.gms:play-services-analytics:18.0.2'
    //implementation 'com.google.android.gms:play-services-gcm:16.0.0'
    implementation "com.google.firebase:firebase-messaging:24.0.1"
    implementation 'org.apache.commons:commons-compress:1.20'
    implementation 'com.github.leandroBorgesFerreira:LoadingButtonAndroid:1.12.1'
    //implementation 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
    implementation 'org.kamranzafar:jtar:2.3'
    implementation 'com.google.android.material:material:1.7.0'
    implementation 'io.sentry:sentry-android:1.6.4'
    implementation 'com.google.firebase:firebase-core:21.1.1'
    implementation 'com.google.firebase:firebase-invites:17.0.0'
    implementation 'com.google.android.gms:play-services-appinvite:18.0.0'
    implementation 'com.android.support:multidex:1.0.3'
}

apply plugin: 'com.google.gms.google-services'






