-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
128 lines (107 loc) · 3.85 KB
/
build.gradle
File metadata and controls
128 lines (107 loc) · 3.85 KB
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
/*
* MythTV Player An application for Android users to play MythTV Recordings and Videos
* Copyright (c) 2015. Daniel Frey
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-rc02'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
classpath 'com.google.gms:google-services:4.1.0'
classpath "com.google.guava:guava:22.0"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
// classpath 'com.google.firebase:firebase-plugins:1.1.0'
classpath 'io.fabric.tools:gradle:1.25.4'
}
}
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
maven {
url 'https://maven.fabric.io/public'
}
}
project.ext {
//Android Support Libraries
supportVersion = '27.1.1'
playServicesVersion = '16.0.1'
firebaseVersion = '16.0.3'
//Libraries
autoValueVersion = '1.6.2'
autoValueGsonVersion = '0.8.0'
autoValueParcelVersion = '0.2.6'
autoValueIgnoreHashEqualsVersion = '1.1.4'
daggerVersion = '2.10'
butterKnifeVersion = '8.8.1'
rxJavaVersion = '1.2.9'
rxAndroidVersion = '1.2.1'
javaxAnnotationVersion = '1.0'
gsonVersion = '2.8.0'
okHttpVersion = '3.7.0'
jodaVersion = '2.9.9'
exoplayerVersion = 'r1.5.4'
glideVersion = '3.7.0'
glideOkHttpVersion = '1.4.0'
multidexVersion = '1.0.3'
recyclerviewfastscrollerVersion = "0.1.3"
stethoVersion = '1.5.0'
leakCanaryVersion = '1.5.1'
cclVersion = '2.8.4'
fabCircleProgressVersion = '1.01@aar'
dualcacheVersion = '3.1.1'
//Testing
robolectricVersion = '3.0'
jUnitVersion = '4.12'
hamcrestVersion = '1.3'
assertJVersion = '3.6.2'
mockitoVersion = '1.10.19'
dexmakerVersion = '1.2'
espressoVersion = '2.3-alpha'
testingSupportRunnerVersion = '0.5'
testingSupportRulesVersion = '0.6-alpha'
testingSupportuiVersion = '2.1.2'
multidexInstrumentationVersion = '1.0.1'
}
}
if( project.hasProperty( "mythtvplayer.google-cast" )
&& new File( project.property( "mythtvplayer.google-cast" ) + ".gradle" ).exists() ) {
apply from: project.property( "mythtvplayer.google-cast" ) + ".gradle";
}
project.ext.preDexLibs = !project.hasProperty( 'disablePreDex' )
subprojects {
project.plugins.whenPluginAdded { plugin ->
if("com.android.build.gradle.AppPlugin" == plugin.class.name) {
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
} else if("com.android.build.gradle.LibraryPlugin" == plugin.class.name) {
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
}
}
}
task wrapper( type: Wrapper ) {
description 'Creates the gradle wrapper.'
gradleVersion '4.6'
}