-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (50 loc) · 1.8 KB
/
build.gradle
File metadata and controls
64 lines (50 loc) · 1.8 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
kotlin : '1.2.41',
gradlePlugin : "3.2.0-alpha16",
compileSdk : 27,
minSdk : 21,
targetSdk : 27,
junit : '4.12',
testRunner : '1.0.2',
espresso : '3.0.2',
supportLibrary : "27.1.1",
constraintLayout: "1.1.0",
]
ext.deps = [
plugin : [
gradle: "com.android.tools.build:gradle:${versions.gradlePlugin}",
kotlin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
],
junit : "junit:junit:${versions.junit}",
testRunner: "com.android.support.test:runner:${versions.testRunner}",
espresso : "com.android.support.test.espresso:espresso-core:${versions.espresso}",
kotlin : [
stdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
],
android : [
appCompatV7 : "com.android.support:appcompat-v7:${versions.supportLibrary}",
constraintLayout: "com.android.support.constraint:constraint-layout:${versions.constraintLayout}",
]
]
repositories {
google()
jcenter()
}
dependencies {
classpath deps.plugin.gradle
classpath deps.plugin.kotlin
// 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
}