blob: 84034a601f2ccf7172d7ad8b0f29b5370ad41842 (
plain)
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
|
apply from: "../commonHeader.gradle"
buildscript { apply from: "../commonBuildScript.gradle" }
apply plugin: 'com.android.application'
android {
namespace "com.android.tests.flavors"
compileSdkVersion libs.versions.latestCompileSdk.get().toInteger()
buildToolsVersion = libs.versions.buildToolsVersion.get()
defaultConfig {
minSdkVersion libs.versions.supportLibMinSdk.get()
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
flavorDimensions "group1", "group2"
productFlavors {
f1 {
dimension "group1"
}
f2 {
dimension "group1"
}
fa {
dimension "group2"
}
fb {
dimension "group2"
}
}
buildFeatures {
buildConfig true
}
}
dependencies {
androidTestImplementation "com.android.support.test:runner:${libs.versions.testSupportLibVersion.get()}"
androidTestImplementation "com.android.support.test:rules:${libs.versions.testSupportLibVersion.get()}"
}
|