forked from kinecosystem/kin-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (64 loc) · 2.08 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "org.kin.sdk.demo"
minSdkVersion 23
targetSdkVersion 29
versionCode 2
versionName "1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
missingDimensionStrategy 'deps', 'normal'
vectorDrawables.useSupportLibrary = true
}
signingConfigs {
create("release") {
keyAlias = "kintest"
storeFile = file("../keystore")
keyPassword = "kintest"
storePassword = "kintest"
}
// getByName("debug") {
// storeFile = file("../keystore")
// }
}
buildTypes {
release {
minifyEnabled true
signingConfig = signingConfigs.getByName("release")
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 /** Required for de-suraging */
targetCompatibility JavaVersion.VERSION_1_8 /** Required for de-suraging */
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':demo:viewmodel')
implementation project(':demo:viewmodel-modern')
implementation deps.kotlin_stdlib
implementation deps.appcompat
implementation deps.ktx
implementation deps.recyclerview
implementation deps.multi_dex
implementation deps.grpc_android
implementation deps.slf4j_android
implementation deps.firebase_analytics
implementation deps.android_material
implementation project(':base-compat')
implementation (project(":spend")) {
exclude module: 'libsodium-jni'
}
implementation (project(":base-viewmodel-impl")) {
exclude module: 'libsodium-jni'
}
}