forked from google/iosched
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
118 lines (110 loc) · 3.98 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
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Top-level build file where you can add configuration options common to all
// sub-projects/modules.
buildscript {
ext {
// App version
versionName = '6.1.2' // X.Y.Z; X = Major, Y = minor, Z = Patch level
versionCodeBase = 61020 // XYZZM; M = Module (tv, mobile)
versionCodeTv = versionCodeBase + 2
versionCodeMobile = versionCodeBase + 3
// SDK and tools
compileSdkVersion = 28
minSdkVersion = 21
minTvSdkVersion = 21 // TV was introduced with Lollipop, min SDK should be 21.
targetSdkVersion = 28
// App dependencies
androidGradlePluginVersion = '3.2.0-beta04'
appcompatVersion = '1.0.0-beta01'
browserVersion = '1.0.0-beta01'
constraintLayoutVersion = '1.1.2'
crashlyticsVersion = '2.9.4'
dagger = "2.16"
dataBindingCompilerVersion = '3.0.1'
espressoVersion = '3.1.0-alpha1'
fabricVersion = '1.25.4'
firebaseAuthVersion = '16.0.2'
firebaseConfigVersion = '16.0.0'
firebaseCoreVersion = '16.0.1'
firebaseFirestoreVersion = '17.0.3'
firebaseMessagingVersion = '17.1.0'
firebaseUiVersion = "3.3.1"
flexboxVersion = "0.3.2"
glideVersion = "4.6.1"
googleMapUtilsVersion = "0.5"
googlePlayServicesMapsVersion = '15.0.1'
googleServicesVersion = "3.2.0"
gsonVersion = "2.8.1"
hamcrestVersion = '1.3'
junitVersion = '4.12'
kotlinVersion = '1.2.50'
ktxVersion = "1.0.0-beta01"
leakCanaryVersion = "1.5.4"
leanbackVersion = '1.0.0-beta01'
legacySupportVersion = '1.0.0-alpha1'
lifecycleVersion = '2.0.0-beta01'
lottieVersion = "2.5.1"
materialVersion = '1.0.0-beta01'
mockitoVersion = "2.8.9"
mockitoKotlinVersion = "1.5.0"
okhttpVersion = "3.10.0"
pageIndicatorVersion = "1.3.0"
rulesVersion = '1.1.0-alpha1'
runnerVersion = '1.1.0-alpha1'
threetenabpVersion = "1.0.5"
threetenbpVersion = "1.3.6"
timberVersion = "4.7.0"
tvproviderVersion = '1.0.0-beta01'
}
repositories {
google()
mavenCentral()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
// Android Build Server
maven { url '../iosched-prebuilts/m2repository' }
}
dependencies {
classpath "com.android.tools.build:gradle:$androidGradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.google.gms:google-services:$googleServicesVersion"
classpath "io.fabric.tools:gradle:$fabricVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
// For Android Build Server
// - Material Design Components
maven { url "${rootProject.projectDir}/../iosched-prebuilts/repository" }
// - Other dependencies
maven { url "${rootProject.projectDir}/../iosched-prebuilts/m2repository" }
// - Support Libraries, etc
maven {
url "${rootProject.projectDir}/../../../prebuilts/fullsdk/linux/extras/support/m2repository"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}