-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.99 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
//jcenter push
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.0.0" // Remove it if you won't to publish SNAPSHOT version.
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 9
targetSdkVersion = 27
compileSdkVersion = 27
sourceCompatibilityVersion = JavaVersion.VERSION_1_8
targetCompatibilityVersion = JavaVersion.VERSION_1_8
}
ext.deps = [
// Android
android : 'com.google.android:android:2.1.2',
appcompatv7 : 'com.android.support:appcompat-v7:25.3.1',
supportAnnotations: 'com.android.support:support-annotations:25.3.1',
// Square
javapoet : 'com.squareup:javapoet:1.9.0',
okhttp : 'com.squareup.okhttp3:okhttp:3.10.0',
// Test dependencies
junit : 'junit:junit:4.12',
autoservice : 'com.google.auto.service:auto-service:1.0-rc2',
autocommon : 'com.google.auto:auto-common:0.6',
mhttpcompiler : 'im.wangchao:mhttp-compiler:0.5.2',
mhttpannotations : 'im.wangchao:mhttp-annotations:0.1.6',
rxjava : 'io.reactivex.rxjava2:rxjava:2.1.3',
rxandroid : 'io.reactivex.rxjava2:rxandroid:2.0.1'
]