-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.gradle
executable file
·156 lines (147 loc) · 6.05 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
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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "com.google.gms:google-services:4.3.4"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10"
}
}
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
maven {
url "http://share.skobbler.com/android/maven/"
}
maven { url 'https://jitpack.io' }
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// Do not change the username below.
// This should always be `mapbox` (not your username).
username = 'mapbox'
// Use the secret token you stored in gradle.properties as the password
password = project.properties['mapBoxDownload']
}
}
}
def module_versions = [
connectionProbeVersionCode: 1,
connectionProbeVersion : '1.0.0',
sensorlibVersionCode : 3,
sensorlibVersion : '1.1.0',
photoViewVersionCode : 1,
photoViewVersion : '1.0.0',
videoViewVersionCode : 1,
videoViewVersion : '1.0.0',
sphericalVersionCode : 1,
sphericalVersion : '1.0.0',
volleyVersionCode : 2,
volleyVersion : '1.0.1',
eventbusVersionCode : 1,
eventbusVersion : '1.0.0',
dotindicatorVersionCode : 1,
dotindicatorVersion : '1.0.0'
]
def library_version = [
jetbrainsAnnotations : '15.0',
signpostVersion : '1.2.1.2',
apacheHttpClientVersion : '4.3.5.1',
apacheHttpMimeVersion : '4.3.6',
apacheMathVersion : '3.6.1',
materialishProgressVersion : '1.7',
glideVersion : '4.11.0',
appIntroVersion : 'v5.1.0',
bindingCollectionAdapterVersion: '2.2.0',
pagingVersion : '1.0.0-alpha2',
guavaVersion : '25.1-android',
jodaExtVersion : '2.10.1',
slidableActivityVersion : '2.0.6',
//okhttp
okHttpVersion : '3.14.2',
//rxjava2
rxJava2Version : '2.2.9',
rxAndroidVersion : '2.1.1',
//retrofit
retrofitVersion : '2.8.1',
retrofitRxJavaAdapterVersion : '1.0.0',
retrofitGsonConverter : '2.5.0',
//--------------Androidx------------------------
recyclerView : '1.0.0',
cardView : '1.0.0',
precentLayout : '1.0.0',
browser : '1.0.0',
annotation : '1.0.0',
lifecycle : '2.0.0',
constraintLayout : '1.1.3',
appCompat : '1.2.0',
preference : '1.0.0',
room : '2.0.0',
//--------------Google--------------------------
googleServices : '4.2.0',
playServicesAuth : '16.0.1',
playServicesLocation : '16.0.0',
firebaseAuth : '19.4.0',
firebaseCore : '17.5.1',
firebaseMessaging : '20.3.0',
googleApiVersion : '1.27.0',
material : '1.0.0',
kotlinVersion : '1.4.10',
coroutines : '1.3.5',
exoplayerVersion : '2.9.6',
timberVersion : '4.7.1',
//--------------Facebook------------------------
facebookSdk : '4.38.1',
//--------------MapBox--------------------------
mapBoxSdk : '9.5.0',
mapBoxSdkAnnotation : '0.7.0'
]
def testing_versions = [
robolectricVersion : '4.0.1',
jUnitVersion : '4.12',
mockitoCore : '2.23.4',
dexmakerVersion : '1.2',
espressoVersion : '3.1.0',
powermockVersion : '2.0.0',
hamcrestVersion : '1.3',
runnerTesting : '1.1.0',
rulesTesting : '1.1.0',
stethoVersion : '1.5.0',
archCoreTesting : '2.0.0',
//development
crashliticsVersion : '17.2.2',
crashliticsNdkVersion: '17.2.2',
firebaseAnalytichs : '17.6.0'
]
def build_versions = [
appId : 'com.telenav.streetview',
appVersionCode : 118,
appVersionName : "4.0",
testInstrumentationRunner: 'androidx.test.runner.AndroidJUnitRunner',
testAppId : 'com.telenav.streetview.test',
androidBuildToolsVersion : '29.0.2',
androidMinSdkVersion : 22,
androidTargetSdkVersion : 29,
androidCompileSdkVersion : 29,
]
ext.config = [
lib_vers : library_version,
test_vers : testing_versions,
module_vers: module_versions,
build_vers : build_versions
]
}
task clean(type: Delete) {
delete rootProject.buildDir
}