build.gradle 1.96 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
        versionCode 1
Javokhir's avatar
2.1.1    
Javokhir committed
14
        versionName "1.0.0"
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
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
    }

    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.3-release.aar"))
Javokhir's avatar
Javokhir 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

Javokhir's avatar
2.1.1    
Javokhir committed
44
45
    implementation("androidx.core:core-ktx:1.9.0")
    implementation("androidx.appcompat:appcompat:1.5.1")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
46
    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
    def cameraVersion = "1.3.0-alpha01"
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
51
52
53
54
    implementation("androidx.camera:camera-camera2:$cameraVersion")
    implementation("androidx.camera:camera-lifecycle:$cameraVersion")
    implementation("androidx.camera:camera-view:$cameraVersion")

Javohir Savriy's avatar
Javohir Savriy committed
55
56
57
    implementation("io.ktor:ktor-client-android:2.1.2")
    implementation("io.sentry:sentry-android:6.7.0-alpha.1")

Javokhir's avatar
2.1.1    
Javokhir committed
58
59
60
    implementation("com.google.android.gms:play-services-mlkit-face-detection:17.1.0")
    implementation("com.google.android.gms:play-services-mlkit-text-recognition:18.0.2")
    implementation("com.google.android.gms:play-services-mlkit-barcode-scanning:18.1.0")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
61

Javohir Savriy's avatar
Javohir Savriy committed
62
    implementation("com.google.android.material:material:1.8.0")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
63
}