mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +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
|
- name: Build and Run Check
|
||||||
# Run checks while excluding release-build tests, which are not configured to work properly
|
# Run checks while excluding release-build tests, which are not configured to work properly
|
||||||
# with the Compose testing library.
|
# with the Compose testing library.
|
||||||
run: ./gradlew check -x testRelease koverXmlReportDebug
|
run: ./gradlew check -x testStandardRelease -x testFdroidRelease koverXmlReportStandardDebug
|
||||||
|
|
||||||
- name: Danger
|
- name: Danger
|
||||||
env:
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility(libs.versions.jvmTarget.get())
|
sourceCompatibility(libs.versions.jvmTarget.get())
|
||||||
targetCompatibility(libs.versions.jvmTarget.get())
|
targetCompatibility(libs.versions.jvmTarget.get())
|
||||||
|
|
Loading…
Add table
Reference in a new issue