-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
83 lines (69 loc) · 2.14 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext{
//App version
versionCode = 1
versionName = '1.0'
//SDK and tools
compileSdkVersion = 29
minSdkVersion = 21
targetSdkVersion = 29
buildToolsVersion = '29.0.2'
//Classpath
gradle_version = '3.5.0'
google_services_version = '4.3.1'
kotlin_version = '1.3.50'
//Android Libraries
appcompat_version = '1.1.0'
ktx_version = '1.1.0'
lifecycle_version = '2.1.0'
viewmodel_version = '2.2.0-alpha05'
room_version = '2.2.0-rc01'
constraint_layout_version = '1.1.3'
cardview_version = '1.0.0'
nav_fragment_version = '2.2.0-alpha03'
//3rd Party Libraries
javax_inject_version = '1'
dagger_version = '2.22.1'
retrofit_version = '2.6.0'
okhttp_version = '3.12.3'
rxandroid_version = '2.1.1'
rxkotlin_version = '2.3.0'
rxjava_version = '2.2.9'
leakcanary_version = '2.0-beta-3'
mapbox_version = '8.4.0'
mapbox_turf_version = '4.9.0'
kotlin_serialization_version = '0.11.1'
//Test Libraries
junit_version = '4.12'
androidx_test_runner_version = '1.2.0'
espresso_version = '3.2.0'
mockito_kotlin_version = '2.1.0'
android_arch_core_testing_version = '1.1.1'
androidx_core_testing_version = '1.2.0'
androidx_junit_version = '1.1.1'
javaSourceCompatibility = '7'
javaTargetCompatibility = '7'
jvmTarget = '1.8'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$rootProject.kotlin_version"
//Serialization support
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}