-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathbuild.gradle
66 lines (54 loc) · 1.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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
def globalConfiguration = rootProject.extensions.getByName("ext")
compileSdkVersion globalConfiguration["androidCompileSdkVersion"]
buildToolsVersion globalConfiguration["androidBuildToolsVersion"]
defaultConfig {
minSdkVersion globalConfiguration["androidMinSdkVersion"]
targetSdkVersion globalConfiguration["androidTargetSdkVersion"]
multiDexEnabled = true
testInstrumentationRunner "org.buffer.android.boilerplate.ui.test.TestRunner"
}
buildTypes {
debug {
testCoverageEnabled true
}
}
dexOptions {
preDexLibraries = false
dexInProcess = false
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'LICENSE.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
lintOptions {
quiet true
abortOnError false
ignoreWarnings true
}
buildToolsVersion '26.0.2'
}
dependencies {
def injectionDependencies = rootProject.ext.injectionDependencies
implementation project(':mobile-ui')
implementation project(':presentation')
implementation project(':data')
implementation project(':cache')
implementation project(':remote')
implementation injectionDependencies.dagger
kapt injectionDependencies.daggerCompiler
implementation injectionDependencies.daggerSupport
kapt injectionDependencies.daggerProcessor
implementation injectionDependencies.mockito
}