-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.gradle
66 lines (55 loc) · 2.08 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
}
allprojects {
repositories {
jcenter()
google()
}
// Add Java compile options
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
subprojects {
afterEvaluate {
if (it.plugins.hasPlugin('com.android.application') || (it.plugins.hasPlugin('com.android.library'))) {
it.apply from:rootProject.file('analysis/quality/static_analysis.gradle')
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
project.ext {
MIN_SDK_VERSION = 15
TARGET_SDK_VERSION = 27
COMPILE_SDK_VERSION = 27
BUILD_TOOLS_VERSION = "27.0.3"
SUPPORT_LIBRARY_VERSION = "27.1.1"
LIB_SUPPORT_V4 = 'com.android.support:support-v4:' + SUPPORT_LIBRARY_VERSION
LIB_SUPPORT_V13 = 'com.android.support:support-v13:' + SUPPORT_LIBRARY_VERSION
LIB_SUPPORT_ANNOTATIONS = 'com.android.support:support-annotations:' + SUPPORT_LIBRARY_VERSION
LIB_SUPPORT_APP_COMPACT_V7 = 'com.android.support:appcompat-v7:' + SUPPORT_LIBRARY_VERSION
LIB_SUPPORT_DESIGN = 'com.android.support:design:' + SUPPORT_LIBRARY_VERSION
LIB_SUPPORT_RECYCLERVIEW_V7 = 'com.android.support:recyclerview-v7:' + SUPPORT_LIBRARY_VERSION
LIB_ARCH_ROOM_RUNTIME = 'android.arch.persistence.room:runtime:1.0.0'
LIB_ARCH_ROOM_RXJAVA2 = 'android.arch.persistence.room:rxjava2:1.0.0'
LIB_ARCH_ROOM_COMPILER = 'android.arch.persistence.room:compiler:1.0.0'
LIB_JUNIT = 'junit:junit:4.12'
LIB_TEST_RUNNER = 'com.android.support.test:runner:1.0.1'
LIB_TEST_RULES = 'com.android.support.test:rules:1.0.1'
LIB_ESPRESSO_CORE = 'com.android.support.test.espresso:espresso-core:3.0.1'
// URI constants for navigation:
URI_SCHEME = 'bsmb'
URI_HOST = 'bsmb.brianspace.github.com'
}