/
build.gradle
70 lines (59 loc) · 2.23 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
// Android common settings
compileSdkVersion = 28
buildToolsVersion = "27.0.3"
minSdkVersion = 14
targetSdkVersion = 28
jdk_compatibility = "1.8"
// Dependency versions
appcompat_v7_version = "28.0.0"
androidannotations_version = "4.5.2"
arrow_version = "0.7.3"
espresso_version = "3.0.2"
fuel_version = "1.15.1"
jackson_version = "2.9.7"
junit_version = "4.12"
kotlin_version = "1.3.10"
ktlint_version = "0.29.0"
okhttp_version = "3.7.0"
slf4jAndroid_version = "1.7.25"
spring_android_rest_template_version = "2.0.0.M3"
support_v4_version = "28.0.0"
// Travis Speedup
// allows for -Dpre-dex=false to be set
travisBuild = System.getenv("TRAVIS") == "true"
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
}
repositories {
jcenter()
maven { url 'https://maven.google.com' }
maven { url 'http://repo1.maven.org/maven2' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://maven.fabric.io/public' }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.25.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
maven { url 'http://repo1.maven.org/maven2' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://maven.fabric.io/public" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}