build.gradle 1.95 KB
Newer Older
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
1
2
3
4
5
6
plugins {
    id "com.android.application"
    id "org.jetbrains.kotlin.android"
}

android {
Javohir Savriy's avatar
Javohir Savriy committed
7
    compileSdk 33
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
8
9
10
11

    defaultConfig {
        applicationId "uz.myid.sdk.sample"
        minSdk 21
Javohir Savriy's avatar
Javohir Savriy committed
12
        targetSdk 33
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
        versionCode 1
        versionName "1.0"
    }

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

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    buildFeatures {
        viewBinding true
    }
}

dependencies {
Javohir Savriy's avatar
Javohir Savriy committed
40
    implementation(files("libs/myid-sdk-2.1.0-release.aar"))
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
41

Javokhir Savriev's avatar
2.0.8    
Javokhir Savriev committed
42
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
43
44
45
46

    implementation("androidx.core:core-ktx:1.8.0")
    implementation("androidx.appcompat:appcompat:1.4.2")
    implementation("androidx.constraintlayout:constraintlayout:2.1.4")
Javohir Savriy's avatar
2.0.9    
Javohir Savriy committed
47
48
    implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
    implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
Javokhir Savriev's avatar
2.0.8    
Javokhir Savriev committed
49
50

    implementation("com.google.android.material:material:1.6.1")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
51
52
53
54
55
56
57
58
59
60
61
62
63

    def cameraVersion = "1.2.0-alpha01"
    implementation("androidx.camera:camera-camera2:$cameraVersion")
    implementation("androidx.camera:camera-lifecycle:$cameraVersion")
    implementation("androidx.camera:camera-view:$cameraVersion")

    implementation("com.google.android.gms:play-services-mlkit-face-detection:17.0.1")
    implementation("com.google.android.gms:play-services-mlkit-text-recognition:18.0.0")
    implementation("com.google.android.gms:play-services-mlkit-barcode-scanning:18.0.0")

    implementation("io.ktor:ktor-client-android:2.0.1")
    implementation("io.sentry:sentry-android:5.7.4")
}