apply plugin: "com.android.library"

android {

    compileSdkVersion 30
    buildToolsVersion "28.0.3"

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 30
    }
    
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
        }
        release {
            // Caution! In production, you need to generate your own keystore file.
            // see https://reactnative.dev/docs/signed-apk-android.
            signingConfig signingConfigs.debug
            minifyEnabled false
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
}

dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
    //noinspection GradleDynamicVersion
    implementation "com.facebook.react:react-native:+"  // From node_modules

    implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
    implementation "com.android.support.constraint:constraint-layout:2.0.4"
    implementation "androidx.constraintlayout:constraintlayout:2.0.4"

    //Added By Mehul
    implementation "androidx.appcompat:appcompat:1.2.0"
    implementation "org.tensorflow:tensorflow-lite:2.3.0"
    implementation "com.google.code.gson:gson:2.8.6"
    implementation "com.google.android.gms:play-services-location:17.1.0"
    implementation 'com.google.android.material:material:1.3.0'
    implementation "com.fasterxml.jackson.core:jackson-databind:2.8.5"
    implementation "com.fasterxml.jackson.core:jackson-core:2.8.5"
    implementation "com.fasterxml.jackson.core:jackson-annotations:2.8.5"
    implementation "com.karumi:dexter:4.2.0"
    implementation "com.github.bumptech.glide:glide:4.9.0"
    annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
    //kapt 'com.github.bumptech.glide:compiler:4.9.0'

    // Image Compression
    implementation "id.zelory:compressor:2.1.1"
}
