-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (66 loc) · 2.76 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// version variables
ext.versions = [
kotlin : '1.2.71',
minSdk : 14,
compileSdk : 27,
buildTools : '28.0.3',
supportLibrary: '27.0.2',
]
ext.deps = [
kotlin : [
stdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
reflect: "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin}"
],
android : [
runtime: 'com.google.android:android:4.1.1.4',
plugin : 'com.android.tools.build:gradle:3.2.0',
runner : 'androidx.test:runner:1.1.0',
rules : 'androidx.test:rules:1.1.0',
junit : 'androidx.test.ext:junit:1.0.0'
],
support : [
annotations: "com.android.support:support-annotations:${versions.supportLibrary}",
fragment : "com.android.support:support-fragment:${versions.supportLibrary}"
],
auto : [
service: 'com.google.auto.service:auto-service:1.0-rc4'
],
tutuur : [
'compilerutil': "com.tutuur.android:compiler-util:0.9.16",
'annotation' : "com.tutuur.android:navigator-annotation:${VERSION_NAME}",
'compiler' : "com.tutuur.android:navigator-compiler:${VERSION_NAME}",
'const' : "com.tutuur.android:navigator-const:${VERSION_NAME}",
'navigator' : "com.tutuur.android:navigator:${VERSION_NAME}",
],
guava : 'com.google.guava:guava:24.0-jre',
javapoet : 'com.squareup:javapoet:1.11.1',
junit : 'junit:junit:4.12',
truth : 'com.google.truth:truth:0.42',
robolectric: 'org.robolectric:robolectric:3.7.1',
]
repositories {
google()
jcenter()
}
dependencies {
classpath deps.android.plugin
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "com.tutuur.android:navigator-plugin:${VERSION_NAME}"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
subprojects { project ->
group = GROUP
version = VERSION_NAME
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}