-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-module.gradle
62 lines (51 loc) · 1.44 KB
/
common-module.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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: "$rootDir/dependencies.gradle"
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
versionCode versionCode
versionName versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
kotlinOptions {
jvmTarget = "1.8"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation deps.kotlin
implementation deps.liveDataKtx
implementation deps.koin
implementation deps.koinVm
implementation deps.timber
// Testing
//testImplementation project(":testing") todo
testImplementation deps.coreTesting
testImplementation deps.mockito
testImplementation deps.mockitoKotlin
testImplementation deps.coroutinesTest
testImplementation deps.junit
}
tasks.withType(Test) {
testLogging {
events "started", "passed", "skipped", "failed"
}
}