-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
92 lines (76 loc) · 3.03 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion sdk_target
defaultConfig {
applicationId "com.artemchep.essence"
minSdkVersion sdk_min
targetSdkVersion sdk_target
versionCode version_code * 1000 + 1
versionName version_name
}
signingConfigs {
release {
def releaseProps = new Properties()
def keystorePropertiesFile = file('essence-release.properties')
if (keystorePropertiesFile.exists()) {
keystorePropertiesFile.withReader('UTF-8') { reader ->
releaseProps.load(reader)
}
}
storeFile file("essence-release.keystore")
keyAlias releaseProps['key_alias']
keyPassword releaseProps['password_key']
storePassword releaseProps['password_store']
}
}
buildTypes {
debug {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
}
release {
zipAlignEnabled true
shrinkResources false
minifyEnabled false
proguardFile 'proguard-rules.pro'
proguardFile getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation project(":common")
implementation "com.artemchep.config:config:$config_version"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "io.arrow-kt:arrow-optics:$arrow_version"
implementation "io.arrow-kt:arrow-core:$arrow_version"
implementation 'com.google.firebase:firebase-crashlytics:18.1.0'
implementation 'com.google.firebase:firebase-analytics:19.0.0'
kapt "io.arrow-kt:arrow-meta:$arrow_version"
implementation "androidx.core:core-ktx:$ktx_lib_version"
implementation "androidx.recyclerview:recyclerview:$recyclerview_lib_version"
implementation "androidx.percentlayout:percentlayout:$androidx_lib_version"
implementation "androidx.appcompat:appcompat:$appcompat_lib_version"
implementation "androidx.wear:wear:$wear_lib_version"
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_lib_version"
implementation "androidx.work:work-runtime-ktx:2.5.0"
implementation "com.google.android.material:material:$material_version"
implementation "com.google.android.support:wearable:$wearable_version"
implementation "com.google.android.gms:play-services-wearable:17.1.0"
compileOnly "com.google.android.wearable:wearable:$wearable_version"
implementation "com.google.firebase:firebase-analytics:$firebase_analytics_version"
}
apply plugin: 'com.google.gms.google-services'