build.gradle 1.19 KB
Newer Older
Javohir Savriy's avatar
Javohir Savriy committed
1
2
3
4
5
6
7
8
9
10
11
12
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
group "uz.aigroup.myid"
version "1.0.4"

buildscript {
    ext.kotlin_version = "1.7.21"

    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath "com.android.tools.build:gradle:7.1.3"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

rootProject.allprojects {
    repositories {
        google()
        mavenCentral()

        maven {
            url "https://artifactory.aigroup.uz:443/artifactory/myid"
            credentials {
                username "rshimbergenov"
                password "cmVmdGtuOjAxOjE3MjE1NjQ3OTA6N1pYOGFSWVRvclNTS09mUjRieTZnVUNwYXB6"
            }
        }
    }
}

apply plugin: "com.android.library"
apply plugin: "kotlin-android"

android {
    compileSdk 33

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }

    sourceSets {
        main.java.srcDirs += "src/main/kotlin"
    }

    defaultConfig {
        minSdk 21
    }
}

dependencies {
    implementation("uz.myid.sdk.capture:myid-capture-sdk:2.1.9")
    implementation("com.google.code.gson:gson:2.10")
}