-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathcommonModule.gradle
More file actions
48 lines (40 loc) · 1.19 KB
/
commonModule.gradle
File metadata and controls
48 lines (40 loc) · 1.19 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply from: '../config.gradle'
apply from: '../commonAndroidDefaultConfig.gradle'
android {
buildTypes {
qa {
buildConfigField "String", "BASE_URL", '""'
multiDexEnabled true
minifyEnabled true
debuggable = true
// сопоставление buildType.qa к buildType.release для корректного подключения локального android-standard
matchingFallbacks = ['release']
}
debug {
buildConfigField "String", "BASE_URL", '""'
multiDexEnabled true
debuggable = true
}
release {
buildConfigField "String", "BASE_URL", '""'
minifyEnabled true
}
}
buildFeatures {
viewBinding true
}
sourceSets {
main {
java.srcDirs += 'src/main/kotlin/'
test.java.srcDirs += 'src/test/kotlin'
androidTest.java.srcDirs += 'src/androidTest/kotlin'
}
}
}
dependencies {
implementation lang.kotlinStdLib
implementation lang.annimonStream
implementation di.javaInject
}