forked from jackuhan/AndroidMonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
82 lines (70 loc) · 2.07 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
buildscript {
ext {
//kt version
kotlin_version = '1.3.30'
//android sdk
compile_sdk_version = 28
target_sdk_version = 28
min_sdk_version = 17
build_tools_version = "28.0.3"
version_code = 1000
version_name = "1.0.0"
//hydrogen-storage
hydrogen_storage = "1.1.5"
//retrofit2
retrofit2_version = '2.5.0'
//fresco
fresco_version = '1.13.0'
//lifecycle
lifecycle_version = '1.1.1'
//support
android_support_version = '28.0.0'
//rx java
rxjava_version = '2.2.8'
//rx android
rxandroid_version = '2.1.1'
//ok http
okhttp_version = '3.12.2'
// heimerdinger
heimerdinger_version = '0.1.7'
}
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/zouyuhan/maven' }
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
classpath 'io.fabric.tools:gradle:1.28.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenLocal()
jcenter()
maven { url 'https://dl.bintray.com/zouyuhan/maven' }
maven { url "https://jitpack.io" }
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
maven { url "http://dl.bintray.com/piasy/maven" }
maven { url 'http://developer.huawei.com/repo/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}