-
Notifications
You must be signed in to change notification settings - Fork 74
/
build.gradle
101 lines (89 loc) · 2.2 KB
/
build.gradle
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
buildscript {
ext.kotlin_version = "1.9.10"
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:8.1.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
repositories {
google()
mavenCentral()
gradlePluginPortal()
exclusiveContent {
forRepository {
maven {
url 'https://repo.mobile.jumio.ai'
}
}
filter {
includeGroup "com.jumio.android"
includeGroup "com.iproov.sdk"
}
}
}
ext {
SDK_VERSION = "4.9.1"
}
dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10"
// only for the sample code
implementation "androidx.activity:activity-ktx:1.8.0"
implementation "androidx.multidex:multidex:2.0.1"
// Jumio dependencies
implementation "com.jumio.android:core:${SDK_VERSION}"
implementation "com.jumio.android:docfinder:${SDK_VERSION}"
implementation "com.jumio.android:nfc:${SDK_VERSION}"
implementation "com.jumio.android:barcode-mlkit:${SDK_VERSION}"
implementation "com.jumio.android:iproov:${SDK_VERSION}"
implementation "com.jumio.android:defaultui:${SDK_VERSION}"
implementation "com.jumio.android:datadog:${SDK_VERSION}"
implementation "com.jumio.android:digital-identity:${SDK_VERSION}"
implementation "com.jumio.android:liveness:${SDK_VERSION}"
implementation "com.jumio.android:camerax:${SDK_VERSION}"
}
android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
namespace "com.jumio.sample"
defaultConfig {
versionCode 1
versionName "Jumio Sample"
minSdkVersion 21
targetSdkVersion 34
multiDexEnabled true
vectorDrawables.useSupportLibrary true
}
buildFeatures {
// Determines whether to support View Binding.
viewBinding true
// Determines whether to support Data Binding.
dataBinding false
}
compileOptions {
sourceCompatibility 11
targetCompatibility 11
}
kotlinOptions {
jvmTarget = 11
}
lint {
abortOnError false
}
buildTypes {
debug {
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}