-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
83 lines (73 loc) · 2.75 KB
/
build.gradle
File metadata and controls
83 lines (73 loc) · 2.75 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
apply from: 'jacoco.gradle'
buildscript {
ext {
ignoreFailures = project.hasProperty('ignoreFailures') ? ignoreFailures : false
kotlin_version = '1.0.6'
commonVars = [ // TODO not sure if we need that
javaVersion : JavaVersion.VERSION_1_7,
javaVersionName: 1.7
]
androidVars = [
compileSdkVersion: 25,
buildToolsVersion: '25.0.2',
targetSdkVersion : 25,
minSdkVersion : 16
]
libVersions = [
android : [
appCompat: '25.1.0',
gradle : '2.2.3',
wearable : '1.4.0'],
assertj : '2.1.0',
calligraphy : '2.2.0',
crashlytics : '2.6.5',
fabric : '1.22.0',
firebase : [
jobdispatcher: '0.5.2'
],
google : [
dagger : '2.8',
gson : '2.8.0',
playServices: '10.0.1'],
jodaTime : '2.9.7',
junit : '4.12',
once : '1.2.1',
playPublisher: '1.1.5',
rx : [
android : '1.2.1',
java : '1.2.4',
javaMath : '1.0.0',
kotlin : '0.60.0',
lifecycle: '1.0'],
square : [
assertjAndroid: '1.1.1',
spoon : '1.7.0',
okhttp : '3.5.0',
retrofit : '2.1.0'],
versions : '0.13.0'
]
}
repositories {
jcenter()
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "com.android.tools.build:gradle:${libVersions.android.gradle}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.ben-manes:gradle-versions-plugin:${libVersions.versions}"
classpath "com.squareup.spoon:spoon-runner:${libVersions.square.spoon}"
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.2'
classpath "io.fabric.tools:gradle:${libVersions.fabric}"
classpath "com.github.triplet.gradle:play-publisher:${libVersions.playPublisher}"
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
apply plugin: 'com.github.ben-manes.versions'
}