mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Add initial product flavors section (BIT-138) (#442)
This commit is contained in:
parent
b33463547d
commit
d615fec9c6
3 changed files with 13 additions and 2 deletions
2
.github/workflows/run-check.yml
vendored
2
.github/workflows/run-check.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
- name: Build and Run Check
|
||||
# Run checks while excluding release-build tests, which are not configured to work properly
|
||||
# with the Compose testing library.
|
||||
run: ./gradlew check -x testRelease koverXmlReportDebug
|
||||
run: ./gradlew check -x testStandardRelease -x testFdroidRelease koverXmlReportStandardDebug
|
||||
|
||||
- name: Danger
|
||||
env:
|
||||
|
|
|
@ -1 +1 @@
|
|||
shroud.reportKover 'App', 'app/build/reports/kover/reportDebug.xml', 80, 80, false
|
||||
shroud.reportKover 'App', 'app/build/reports/kover/reportStandardDebug.xml', 80, 80, false
|
||||
|
|
|
@ -49,6 +49,17 @@ android {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions += listOf("mode")
|
||||
productFlavors {
|
||||
create("standard") {
|
||||
dimension = "mode"
|
||||
}
|
||||
create("fdroid") {
|
||||
dimension = "mode"
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility(libs.versions.jvmTarget.get())
|
||||
targetCompatibility(libs.versions.jvmTarget.get())
|
||||
|
|
Loading…
Reference in a new issue