plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
    id 'com.google.gms.google-services'
    id 'kotlin-kapt'
}

android {
    signingConfigs {
        realse {
            storeFile file('../smartcl.jks')
            storePassword '123456'
            keyAlias 'key0'
            keyPassword '123456'
        }
    }
    namespace 'com.base.superfilemanager'
    compileSdk 34

    defaultConfig {
        applicationId "com.base.superfilemanager"
        minSdk 24
        targetSdk 33
        versionCode 6
        versionName "1.5"
        ndk {
            abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
        }
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        setProperty("archivesBaseName", "cleanmastermax-v${versionName}")
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.realse
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = '1.8'
    }
    buildFeatures {
        viewBinding true
        buildConfig true
        aidl true
    }
}

dependencies {
    implementation(fileTree("libs"))
    implementation 'androidx.core:core-ktx:1.9.0'
    implementation 'androidx.appcompat:appcompat:1.6.1'
    implementation 'com.google.android.material:material:1.12.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
    implementation("com.google.android.gms:play-services-ads:23.1.0")
    implementation 'com.google.ads.mediation:applovin:12.4.3.0'
    implementation 'com.google.ads.mediation:fyber:8.2.7.0'
    implementation 'com.google.ads.mediation:ironsource:8.0.0.1'
    implementation 'com.google.ads.mediation:vungle:7.3.1.0'
    implementation 'com.google.ads.mediation:facebook:6.17.0.0'
    implementation 'com.google.ads.mediation:mintegral:16.7.21.0'
    implementation 'com.google.ads.mediation:pangle:5.9.0.4.0'
    implementation("com.blankj:utilcodex:1.31.1")
    implementation 'com.github.bumptech.glide:glide:4.16.0'
    implementation 'com.airbnb.android:lottie:6.4.0'
    implementation platform('com.google.firebase:firebase-bom:32.3.1')
    implementation 'com.google.firebase:firebase-analytics:21.6.2'
    implementation("com.squareup.okhttp3:okhttp:4.9.0")
    implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
//    implementation("com.github.JavaNoober.BackgroundLibrary:libraryx:1.7.6")
    implementation("com.github.JavaNoober.BackgroundLibrary:libraryx:1.7.6")
    implementation("com.github.pokercc:ExpandableRecyclerView:0.9.3")
    def roomVersion = "2.5.0"
    implementation("androidx.room:room-runtime:$roomVersion")
    annotationProcessor("androidx.room:room-compiler:$roomVersion")
    kapt("androidx.room:room-compiler:$roomVersion")
    implementation("androidx.room:room-ktx:$roomVersion")
    implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
    implementation 'com.belerweb:pinyin4j:2.5.1'


    implementation("com.google.firebase:firebase-messaging")
    implementation("com.facebook.android:facebook-android-sdk:[8,9)")

    implementation 'com.makeramen:roundedimageview:2.3.0'

}