-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
51 lines (46 loc) · 1.58 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
ext {
supportlib_version = '27.1.1'
appcompat_version = supportlib_version
design_version = supportlib_version
constraintlayout_version = '1.1.0'
junit_version = '4.12'
testrunner_version = '1.0.2'
espresso_version = '3.0.2'
}
ext.deps = [
'kotlin' : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
'android': [
'support': [
'core' : "com.android.support:support-v4:$supportlib_version",
'appcompat' : "com.android.support:appcompat-v7:$appcompat_version",
'constraintlayout': "com.android.support.constraint:constraint-layout:$constraintlayout_version",
'design' : "com.android.support:design:$design_version"
]
],
'test' : [
'junit' : "junit:junit:$junit_version",
'runner' : "com.android.support.test:runner:$testrunner_version",
'espresso': "com.android.support.test.espresso:espresso-core:$espresso_version"
]
]
task clean(type: Delete) {
delete rootProject.buildDir
}