forked from ologe/canaree-music-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase_module.gradle
More file actions
85 lines (66 loc) · 2.4 KB
/
Copy pathbase_module.gradle
File metadata and controls
85 lines (66 loc) · 2.4 KB
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
75
76
77
78
79
80
81
82
83
84
85
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
debuggable false
}
debug {
// debuggable false
}
}
flavorDimensions "version"
productFlavors {
mock {
dimension "version"
}
full {
dimension "version"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
useLibrary 'android.test.runner'
useLibrary 'android.test.base'
useLibrary 'android.test.mock'
}
dependencies {
implementation lib_core.kotlin
implementation lib_core.coroutines
implementation lib_core.coroutines_android
// Core library
testImplementation lib_test.junit
testImplementation lib_test.mockito
testImplementation lib_test.mockito_kotlin
testImplementation lib_core.coroutines_test
testImplementation project (':test-shared')
androidTestImplementation lib_test.junit
androidTestImplementation lib_test.mockito
androidTestImplementation lib_test.mockito_kotlin
androidTestImplementation lib_core.coroutines_test
androidTestImplementation 'androidx.test:core:1.2.0'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation project (':test-shared')
// testImplementation 'junit:junit:4.12'
// testImplementation "org.mockito:mockito-core:2.23.4"
// androidTestImplementation 'androidx.test.ext:junit:1.1.1'
// Assertions
// androidTestImplementation 'androidx.test.ext:truth:1.2.0'
// androidTestImplementation 'com.google.truth:truth:0.44'
// Espresso dependencies
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// androidTestImplementation 'androidx.test.espresso.idling:idling-concurrent:3.2.0'
}