
plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
}

android {
    namespace = "io.scanbot.sdk.usecases.documents"
    compileSdk = 35

    defaultConfig {
        applicationId = "io.scanbot.example.document.usecases.android"
        minSdk = 21
        targetSdk = 34
        versionCode = 1
        versionName = "1.0"
    }

    buildTypes {
        named("debug") {
            minifyEnabled = false
            shrinkResources = false
            debuggable = true
            proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
        }
        named("release") {
            minifyEnabled = false
            debuggable = true
            proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
        }
    }

    kotlin {
        jvmToolchain(17)
    }

    composeOptions {
        kotlinCompilerExtensionVersion = "1.5.12"
    }
}

def scanbotSdkVersion = "7.1.1"

dependencies {

    implementation("io.scanbot:sdk-multitasktext-assets:$scanbotSdkVersion")
    implementation("io.scanbot:sdk-ml-imageprocessor-assets:$scanbotSdkVersion")
    implementation("io.scanbot:sdk-docqualityanalyzer-assets:$scanbotSdkVersion")
    implementation("io.scanbot:bundle-sdk-barcode-assets:$scanbotSdkVersion")
    implementation("io.scanbot:sdk-package-1:$scanbotSdkVersion")
    implementation("io.scanbot:rtu-ui-v2-bundle:$scanbotSdkVersion")

    implementation("androidx.core:core-ktx:1.10.1")
    implementation("androidx.appcompat:appcompat:1.7.0")
    implementation("com.google.android.material:material:1.11.0")
    implementation("androidx.exifinterface:exifinterface:1.3.7")
}
