-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle (Module: app)
157 lines (119 loc) · 5.14 KB
/
build.gradle (Module: app)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 28
buildToolsVersion "29.0.1"
defaultConfig {
applicationId "cz.prague.cvut.fit.steuejan.amtelapp"
minSdkVersion 22
targetSdkVersion 28
versionCode 3
versionName "1.2-beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "AMTEL_Opava_${defaultConfig.versionName}.apk"
}
}
}
viewBinding {
enabled = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
//material design
implementation 'com.google.android.material:material:1.1.0'
//ktx
implementation 'androidx.core:core-ktx:1.1.0'
implementation "androidx.fragment:fragment-ktx:1.1.0"
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0-rc03'
//kotlin reflection
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.61"
//view model
implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
//viewModel scope
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0-rc03'
//material drawer
implementation "com.mikepenz:materialdrawer:${release.versionName}"
//required support lib modules for material drawer
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
implementation "androidx.annotation:annotation:${versions.annotation}"
implementation "com.google.android.material:material:${versions.material}"
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
//navController support
implementation "com.mikepenz:materialdrawer-nav:${release.versionName}"
//icons
//don't update, the app crashes with a new update
implementation "com.mikepenz:iconics-core:4.0.2"
implementation "androidx.appcompat:appcompat:${versions.appCompat}"
//don't update, the app crashes with a new update
implementation "com.mikepenz:iconics-views:4.0.2"
implementation 'com.mikepenz:fontawesome-typeface:5.9.0.0-kotlin@aar'
//firebase Authentication
implementation 'com.google.firebase:firebase-auth:19.2.0'
//cloud firestore with kotlin syntax
implementation 'com.google.firebase:firebase-firestore-ktx:21.4.0'
//firebaseUI for Cloud Firestore
implementation 'com.firebaseui:firebase-ui-firestore:6.2.0'
//firebase SDK for Google Analytics
implementation 'com.google.firebase:firebase-analytics:17.2.3'
//firebase Crashlytics
implementation 'com.google.firebase:firebase-crashlytics:17.0.0-beta01'
//firebase Messaging
implementation 'com.google.firebase:firebase-messaging:20.1.4'
//coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.3.0'
//material dialog
implementation 'com.afollestad.material-dialogs:core:3.2.1'
//date-time picker dialog
implementation 'com.afollestad.material-dialogs:datetime:3.1.1'
//input dialog
implementation 'com.afollestad.material-dialogs:input:3.2.1'
//send email in background
implementation 'com.github.luongvo:GmailBackground:2.1.1'
//phone number validator
implementation group: 'com.googlecode.libphonenumber', name: 'libphonenumber', version: '8.4.2'
//gson
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.github.florent37:shapeofview:1.3.2'
//charts
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
//in order to let firestore paging adapter working
implementation 'android.arch.paging:runtime:1.0.1'
//joda time
implementation 'joda-time:joda-time:2.10.5'
//swipe refresh layout
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
//apache commons lang
implementation 'org.apache.commons:commons-lang3:3.6'
//grid layout
implementation 'com.android.support:gridlayout-v7:28.0.0'
//leak canary
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.1'
//google maps
implementation 'com.google.android.gms:play-services-maps:17.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}