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 {
Javokhir's avatar
Javokhir committed
40
41
42
    implementation(files("libs/myid-sdk-2.1.2-release.aar"))

    implementation("com.google.android.material:material:1.7.0")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
43

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

Javokhir's avatar
2.1.1    
Javokhir committed
46
47
    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
48
    implementation("androidx.constraintlayout:constraintlayout:2.1.4")
Javohir Savriy's avatar
2.0.9    
Javohir Savriy committed
49
50
    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
51

52
    def cameraVersion = "1.3.0-alpha01"
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
53
54
55
56
    implementation("androidx.camera:camera-camera2:$cameraVersion")
    implementation("androidx.camera:camera-lifecycle:$cameraVersion")
    implementation("androidx.camera:camera-view:$cameraVersion")

Javokhir's avatar
2.1.1    
Javokhir committed
57
58
59
    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
60

Javokhir's avatar
Javokhir committed
61
    implementation("io.ktor:ktor-client-android:2.1.2")
Javokhir's avatar
2.1.1    
Javokhir committed
62
    implementation("io.sentry:sentry-android:6.7.0-alpha.1")
Javokhir Savriev's avatar
2.0.7  
Javokhir Savriev committed
63
}