-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.gradle
65 lines (57 loc) · 1.95 KB
/
common.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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
buildToolsVersion Releases.buildToolsVersion
compileSdkVersion Releases.compileSdkVersion
defaultConfig {
minSdkVersion Releases.minSdkVersion
targetSdkVersion Releases.targetSdkVersion
versionCode Releases.versionCode
versionName Releases.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled true
testCoverageEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation Dependencies.kotlin
//di
implementation Dagger.dagger
implementation Dagger.android
kapt Dagger.compiler
kapt Dagger.processor
//testing
implementation Testing.espressoIdleResources
testImplementation Testing.jUnit
testImplementation Testing.androidX
testImplementation Testing.mockk
testImplementation Coroutines.core
testImplementation Coroutines.android
testImplementation Coroutines.test
testImplementation Retrofit.mockWebServer
androidTestImplementation Testing.testRunner
androidTestImplementation Testing.espresso
androidTestImplementation Testing.espressoContrib
androidTestImplementation Testing.espressoIntent
androidTestImplementation Testing.runner
androidTestImplementation Testing.rules
androidTestImplementation Testing.core
androidTestImplementation Testing.espressoIdleResources
androidTestImplementation Testing.extJunit
androidTestImplementation Testing.extTruth
}