-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathbuild.gradle
executable file
·46 lines (40 loc) · 1.2 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.gradleVersion = '3.1.2'
ext.kotlinVersion = '1.2.30'
ext.supportVersion = '27.1.1'
ext.AAVersion = '4.4.0'
ext.compileSdkVersionValue = 27
ext.buildToolsVersionValue = '27.0.3'
// 测试框架版本号
ext.runnerVersion = '1.0.2'
ext.rulesVersion = '1.0.2'
ext.espressoVersion = '3.0.2'
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
maven { url "https://jitpack.io" }
// huawei push need
maven { url 'http://developer.huawei.com/repo/' }
}
}